• 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: Resizing an image in a thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resizing an image in a thread


  • Subject: Re: Resizing an image in a thread
  • From: Fabio <email@hidden>
  • Date: Sat, 18 Feb 2006 15:24:12 +0100

I like it how this list is magical. A couple of hours after I posted here I discovered the CIImage class. This is awesome, thank you Apple !! It all works fine now and it's even using less memory !!!

I need to scale down an image (located in a file) and save the scaled image as a file.
Now, on the main thread, this would be easy (I load the file in a NSImage, change its size, create a new image, lock the focus on it, draw the scaled image and save it) but I have to do it in a thread (not the main thread).


I've tried everything, including NS(Bitmap)ImageRep, vImage, GraphicsImporter, CGImage,... I wasn't able to create a valid, thread safe, function.

Please! Any help would really be appreciated.
Thanks

Fabio
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40hotmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Resizing an image in a thread (From: Fabio <email@hidden>)

  • Prev by Date: Grinding Images Filter
  • Next by Date: Re: warning: C++ constructors and destructors
  • Previous by thread: Resizing an image in a thread
  • Next by thread: Grinding Images Filter
  • Index(es):
    • Date
    • Thread