Re: JPEG Resolution

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hello Chris and Brian,

None of my apps ever used PelsPerMeter because as i was saying before
i usually only have one pic to display and one monitor.
The PPM could be used to convert to DPI and that would allow you
to select between a two of pictures which are both the same but 
with different dpi...you could select the picture that was closest
to the dpi of the monitor (i guess).
For example, say you have these two pics:
  pic1A.bmp
  pic1B.bmp

and pic1A had 96 dpi and pic1B and 180 dpi, and the display was
96 dpi, i guess you would select the 96 dpi one.  I myself have
never had the need to do this so i never use the dpi, and whenever
i create a new bitmap file i load the pelspermeter params both with zero.
I guess if you load with some dpi value you might control how the
picture is supposed to be displayed if the viewer uses this data.

The viewer that comes with WinXP seems to get and display the dpi of
a jpg file when you look at the properties, but i dont see how it 
actually uses this info to display the picture itself because the
picture comes up in whatever size window you have set for the viewer
anyway if the pic is larger and smaller than the viewer area if the
pic is smaller.
I noticed also that when creating bitmaps the dpi values (i guess
pelspermeter is calculated from the dpi of the current display and
the number of dots up and down) are set in some painting programs
so the file properties shows a dpi value for both H and V.



Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu