Question
Scaling % value shown for imported graphics is not as expected
Hi,
I import a PNG by reference. When I do so the default value in the Custom DPI field shows 200. (It seems that my PNG has a dpi of "200" set for it. I see this value in the Summary tab when I right-click the graphic file in Explorer and select Properties. I suspect that this value was set unintentionally a while ago when I bulk converted a load of GIFs to PNG format.)
In Frame, when importing the graphic I change the dpi value to 96. After import the graphic looks the same in Frame as when opened in IE or any graphics program and viewing at 100%.
Now in Frame I notice that the Percent value for the graphic shows 208.33%. I don't understand this. The graphic is being shown on screen at its original size and has not been resized after importing so I expect the Percent field to show 100%. It seems, however, that the Percent value is taking into account the dpi value set in the graphic file and showing 200/96 x 100 = 208%.
Likewise, if I resize the graphic in Frame and then later on set the Percent to 100% I expect it to return to the size it had when I imported it. However, this does not happen. It basically shows on screen as if it was a "normal" graphic that had been resized in Frame to 200 dpi.
Is this correct behavior?
(I know I can simply avoid the problem by changing the dpi setting to 96 in my graphics but I'd still like to know if Frame is handling this correctly or it is a bug).
Thanks,
Adrian
I import a PNG by reference. When I do so the default value in the Custom DPI field shows 200. (It seems that my PNG has a dpi of "200" set for it. I see this value in the Summary tab when I right-click the graphic file in Explorer and select Properties. I suspect that this value was set unintentionally a while ago when I bulk converted a load of GIFs to PNG format.)
In Frame, when importing the graphic I change the dpi value to 96. After import the graphic looks the same in Frame as when opened in IE or any graphics program and viewing at 100%.
Now in Frame I notice that the Percent value for the graphic shows 208.33%. I don't understand this. The graphic is being shown on screen at its original size and has not been resized after importing so I expect the Percent field to show 100%. It seems, however, that the Percent value is taking into account the dpi value set in the graphic file and showing 200/96 x 100 = 208%.
Likewise, if I resize the graphic in Frame and then later on set the Percent to 100% I expect it to return to the size it had when I imported it. However, this does not happen. It basically shows on screen as if it was a "normal" graphic that had been resized in Frame to 200 dpi.
Is this correct behavior?
(I know I can simply avoid the problem by changing the dpi setting to 96 in my graphics but I'd still like to know if Frame is handling this correctly or it is a bug).
Thanks,
Adrian
