16-bit multi-image TIFFs
16-bit multi-image TIFFs
- Subject: 16-bit multi-image TIFFs
- From: Arthur Sugden <email@hidden>
- Date: Wed, 4 Nov 2009 14:47:05 -0500
Hello,
I'm trying to view 16-bit multi-image scientific TIFFs in an
IKImageView. I'd like to scan through the multi-part TIFF but I'm
having problems. The documentation says that IKImageView can handle
multi-part TIFFs but that setImageWithURL necessarily selects the
first index. So, I'm converting the 16-bit data to 8-bit by extracting
the pixel data (CFDataGetBytePtr) and creating a new CGContextRef
after setting my black and white points manually. My problems are as
follows: first, the image flickers when I scan through the multi-image
TIFF which uses imageView to setImage. Is there a way to layer the
multi-part TIFFs to allow a smooth transition? Second, the zoom
settings and centering settings are lost between images. Can those be
retained easily or do I have to mess around with zoomFactor?
Eventually, I'd like to layer over these images markings associated
with each image. Should I stick with IKImageView or head in another
direction?
Thanks in advance,
Arthur
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden