| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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:
http://lists.apple.com/mailman/options/cocoa-dev/maconnect% 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: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
| References: | |
| >Resizing an image in a thread (From: Fabio <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.