Re: [loading 16-bit png,psd|loading tiff from stdout]
Re: [loading 16-bit png,psd|loading tiff from stdout]
- Subject: Re: [loading 16-bit png,psd|loading tiff from stdout]
- From: Josh Anon <email@hidden>
- Date: Tue, 28 Jan 2003 21:39:30 -0600
Hi John,
The image shows up when I load it into an image view in IB. With a
tiff, the issue is that if I try to init an image rep from the data,
the rep returns nil, and if I try to init an image, the image has no
reps. No errors, it just doesn't work. The rest of the code just
grabs the rep from the image (loading into an image and not a rep was
an attempt to fix this problem) and sets it within the object. Then,
the app asks for the NSBitmapImageRep from the plugin, and it'll ask
for a tif or such representation from there which gets written to disk.
Hmm, interesting--if NSImage uses Quicktime...very nice! Is this
documented anywhere? Does this work for any additional Quicktime
plugins that aren't standard, e.g. perhaps an OpenEXR one?
Any thoughts on why 16-bit png/psd are becoming 8-bit? Is
NSBitmapImageRep not letting Quicktime do it's thing (or is Quicktime
doing its thing and its thing is wrong)? Did a bit of playing and this
seems to happen if you load from a file, too.
Thanks!
Josh
--
//email@hidden ||
http://www.areax.net
"Ford, you're turning into a penguin. Stop it." -- Douglas Adams,
Hitchhiker's Guide to the Galaxy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.