• 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
Raw pixel data <-> jpeg
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Raw pixel data <-> jpeg


  • Subject: Raw pixel data <-> jpeg
  • From: Trygve Inda <email@hidden>
  • Date: Mon, 10 Mar 2008 08:18:46 +0000
  • Thread-topic: Raw pixel data <-> jpeg

I have raw pixel data in a block of memory of the form ARGB. I need to
convert this to a jpg and write it to disk. I can obviously provide the
width and height which match the amount of pixel data.

I also need to go the other way... Reading a jpg from disk and getting at an
ARGB (or even just RGB) pixel buffer.

I have not been able to find good sample code to do this... Is there any out
there? I saw one page about ImageIO but few details.

If there is no sample code, what then are the steps so I can piece it
together myself?

Thanks,

Trygve


_______________________________________________

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: Raw pixel data <-> jpeg
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
  • Next by Date: Re: Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
  • Previous by thread: Re: Checking "Continuously Updates Value" in NSTextView binding cases Core Data failure
  • Next by thread: Re: Raw pixel data <-> jpeg
  • Index(es):
    • Date
    • Thread