Re: Bit maps from raw camera files

2008-07-07 Thread James Merkel
That's true. As a matter fact, I think all digital camera files have more than one image -- even the lowliest point and shoot camera has a main image and a thumbnail. However, I checked various camera files and found that imageRepsWithContentsOfFile: always seems to return just one image. S

Re: Bit maps from raw camera files

2008-07-07 Thread Paul Sargent
Remember that some raw files contain multiple resoltions (i.e. a thumbnail and the main image), so you may not always want the first one. On 6 Jul 2008, at 04:29, James Merkel wrote: Will look into CGImageRef using ImageIO. However, I found that if I use: imageRepsWithContentsOfFile: rather

Re: Bit maps from raw camera files

2008-07-05 Thread James Merkel
Will look into CGImageRef using ImageIO. However, I found that if I use: imageRepsWithContentsOfFile: rather than imageRepWithContentsOfFile: I can get a bit map from all raw files that are supported by OS X. (At least for the raw files I have checked so far). The method imageRepsWithConte

Re: Bit maps from raw camera files

2008-07-05 Thread Chris Hanson
On Jul 5, 2008, at 2:00 PM, James Merkel wrote: So the question is how to go about reliably getting a bit map reliably form these camera raw files? Try getting a CGImageRef using ImageIO. -- Chris ___ Cocoa-dev mailing list (Cocoa-dev@lists.app