• 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
Forcing an NSImage to render it's NSImageRep's ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Forcing an NSImage to render it's NSImageRep's ?


  • Subject: Forcing an NSImage to render it's NSImageRep's ?
  • From: Matthew Mashyna <email@hidden>
  • Date: Fri, 15 Aug 2008 14:44:38 -0400

I want to interlace some images on a column by column basis. My initial idea was to open them all as NSImages, rotate them 90 degrees, interlace them row by row using the image rep's row data and then rotate the final image back 90 degrees.

I can't seem to force my NSImage to draw into an image rep after I rotate it unless I take the trouble to display it first. I know that this isn't really what NSImage is for but it would save be a bunch of trouble over having to do it with Quartz. I tried a few things but I can't seem to push it to actually render the bitmap rep.

Is there an official way to push NSImage to render it's NSImageReps without having to wait for it to be displayed in an NSImageView ? I don't want to see them in views, I want to mess with them and generate a TIFF file.

Am I stuck using Quartz, then ?

Thanks,
Matt
_______________________________________________

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: Forcing an NSImage to render it's NSImageRep's ?
      • From: Peter Ammon <email@hidden>
  • Prev by Date: NSLocalizedString, genstrings, and Unicode
  • Next by Date: Window 'close' action fails
  • Previous by thread: Re: NSLocalizedString, genstrings, and Unicode
  • Next by thread: Re: Forcing an NSImage to render it's NSImageRep's ?
  • Index(es):
    • Date
    • Thread