Resolution of JPEG
Resolution of JPEG
- Subject: Resolution of JPEG
- From: Jeff LaMarche <email@hidden>
- Date: Thu, 18 Oct 2001 21:58:25 -0700
I'm instantiating an NSImage with an NSData object that contains a JPEG
image. Most of the JPEG images are set to screen resolution, but
sometimes they are set to a higher value. When the resolution is set
higher, the images display smaller in the NSImageView that I'm using to
show them in. I'd like the images to all show at screen resolution -
each image pixel corresponds to one screen pixel - but don't want to
change the source data.
I don't see any method in NSImage for changing the resolution. How do I
do this? Do I need to create another representation for the image, or is
there a better way to do this?
Jeff