Re: Image preview with UIWebView

2011-01-27 Thread Kyle Sluder
On Thu, Jan 27, 2011 at 8:58 AM, Ken Ferry wrote: > Hi Leon, Kyle, > > I have been told that ImageIO on iOS does not have RAW decoders. (Kyle knows > that it does on the desktop.) It's still possible to display something when > the file has an embedded JPEG thumb, which most RAW files do. I'm no

Re: Image preview with UIWebView

2011-01-27 Thread Ken Ferry
Hi Leon, Kyle, I have been told that ImageIO on iOS does not have RAW decoders. (Kyle knows that it does on the desktop.) It's still possible to display something when the file has an embedded JPEG thumb, which most RAW files do. I'm not sure what the mechanism is, but ImageIO on the desktop do

Re: Image preview with UIWebView

2011-01-26 Thread Kyle Sluder
On Jan 26, 2011, at 3:16 AM, Leon Qiao wrote: > Hi Kyle, > > Thanks for your advise. I found the UIImage really wraps something that can > be used to read the raw image file. Maybe I need to check the file extension > and provide a UIImageView. Yes, UIImage wraps CGImage. This is why I gave y

Re: Image preview with UIWebView

2011-01-26 Thread Leon Qiao
Hi Kyle, Thanks for your advise. I found the UIImage really wraps something that can be used to read the raw image file. Maybe I need to check the file extension and provide a UIImageView. 2011/1/26 Kyle Sluder > On Tue, Jan 25, 2011 at 10:05 PM, Leon Qiao > wrote: > > I plan to use the UIWe

Re: Image preview with UIWebView

2011-01-25 Thread Kyle Sluder
On Tue, Jan 25, 2011 at 10:05 PM, Leon Qiao wrote: > I plan to use the UIWebView to display the preview of some image files. > It works well when opening the common files. But it seems some special > formats (such as "CRW", Canon Camera Raw file) are not supported. It can be > viewed via the QLPre

Image preview with UIWebView

2011-01-25 Thread Leon Qiao
Dear all, I plan to use the UIWebView to display the preview of some image files. It works well when opening the common files. But it seems some special formats (such as "CRW", Canon Camera Raw file) are not supported. It can be viewed via the QLPreviewController. Is there any better way to do the