Hello Kai
Many thanks for your post. I checked the posts on houseoffusion.com. It does help understanding all technical issues but actually has not a lot to do with my question. May be I try to ask it in another way:
I'm storing images which are supposed to be printed on a server. So these images need to be in "good quality". The images are initially scanned from dias in a resolution of 600 dpi. I do not want my database application to show the initially scanned images. Imagine I have a page showing 10 pics at the time - I would need to download hundreds of MB. I programmed my CF application to create thumnails in 100 x 100 pixels dimension. And these thumbnails come in a resolution of 600 dpi which does not make any sense because they are intended to be displayed on a screen. So 72 dpi would be enough. Another reason is the size of the thumb. In 600 dpi it is much bigger than if it would come in 72 dpi. So, is there a way to work on the resolution of the image with CF?
Thank you very much for input.
Regards
Tom
tomtomtom wrote:
And these thumbnails come in a resolution of 600 dpi
No they don't. Files do not have dpi -- OUTPUT (and some INPUT) devices have dpi.
FIles have resolution, color depth, file format and compression.
Your are mixing up OUTPUT quality with FILE data.
You have an image file that is 100px by 100px. That is the FILE data. Thus the file has 10,000 pixels of data (not a lot for a picture).
Now if you OUTPUT that to a monitor at 72dpi those 10,000 pixels will be displayed in an area of ~1.38 inches by ~1.38 inches.
If you OUTPUT that to a printer at 300dpi it will be displayed in an area of ~0.33 inches by ~0.33 inches.
The quality of the image file is the same, but the output determines how small the dots are for each pixel and thus how large the overall image is.
The things that affect the quality of the image file are how many dots there are in the file (resolution) how much those dots are squeezed (compression) and file format (lossless versus lossy) and how many colors can be used for each dot (color depth)