• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Image preview with UIWebView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image preview with UIWebView


  • Subject: Re: Image preview with UIWebView
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 25 Jan 2011 22:46:25 -0800

On Tue, Jan 25, 2011 at 10:05 PM, Leon Qiao <email@hidden> 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 QLPreviewController. Is there any better way to do the file
> preview function?

Sounds like you're not going to be able to use a UIWebView for your preview.

ImageIO can read Canon RAW images. Create a CGImageSource with the
file's URL and you'll be able to get a CGImage out of it. You can then
wrap it in a UIImageView and display it in a preview UI, or otherwise
use it as you would any other CGImage.

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: Image preview with UIWebView
      • From: Ken Ferry <email@hidden>
    • Re: Image preview with UIWebView
      • From: Leon Qiao <email@hidden>
References: 
 >Image preview with UIWebView (From: Leon Qiao <email@hidden>)

  • Prev by Date: Re: Using NSWindow without NIB (XIB) file ?
  • Next by Date: Re: Creating a mouse event & event number
  • Previous by thread: Image preview with UIWebView
  • Next by thread: Re: Image preview with UIWebView
  • Index(es):
    • Date
    • Thread