Re: Converting JPEG Image Greater Than 72dpi To 72dpi
Re: Converting JPEG Image Greater Than 72dpi To 72dpi
- Subject: Re: Converting JPEG Image Greater Than 72dpi To 72dpi
- From: Ali Ozer <email@hidden>
- Date: Thu, 25 Aug 2005 08:27:11 -0700
Assuming you have a NSBitmapImageRep, if you set its point size
(setSize:) equal to its pixel size (pixelsWide, pixelsHigh), you will
get a 72dpi image without any loss of quality. However, this changes
the size --- your 300dpi example image will now occupy 300/72 more
space in each dimension when displayed. But I guess when you said
"size" you didn't mean size but pixel size?
Ali
Begin forwarded message:
From: Ian was here <email@hidden>
Date: August 24, 2005 15:24:17 PDT
To: Apple Mailing List <email@hidden>
Subject: Converting JPEG Image Greater Than 72dpi To 72dpi
I found that if I load a JPEG that has a dpi greater
than 72 (like 300 dpi for example), I lose some bitmap
data. I have googled around and found info on getting
the size of images at various resolutions. What I
really need is a way to take a high resolution image
and convert it into 72dpi while maintaining the same
size and without losing any quality.
Do I ask too much? Thanks.
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden