Re: some questions about creating image thumbnails

2008-04-10 Thread Jesse Grosjean
Ben and others thank you. Through that link I found CGImageSourceCreateThumbnailAtIndex, which looks like it might be just what I need. Jesse ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

some questions about creating image thumbnails

2008-04-09 Thread Jesse Grosjean
I have a situation where I've got a NSImage reference in memory and I'd like to save that image at full size and in a number of thumbnail sizes as quickly as possible. I know how to implement the basics, but I have no idea if I'm doing it in the most efficient way. In particular: To save

Re: some questions about creating image thumbnails

2008-04-09 Thread Nathan Vander Wilt
On Apr 9, 2008, at 8:32 AM, Jesse Grosjean wrote: I've heard (or maybe imagined) that some image file formats will already embed their own thumbnails. Is that a better way to do things... what image formats support that if any? This I do know a bit better. TIFF images can indeed store

Re: some questions about creating image thumbnails

2008-04-09 Thread Nathan Vander Wilt
On Apr 9, 2008, at 8:32 AM, Jesse Grosjean wrote: 1. If I don't care about on disk size is NSTIFFCompressionNone a fast way to write? (assuming that compression would take more time). Or maybe compression will actually save me time since the disk write will be faster? I am by no means a

Re: some questions about creating image thumbnails

2008-04-09 Thread Adam R. Maxwell
On Wednesday, April 09, 2008, at 08:35AM, Jesse Grosjean [EMAIL PROTECTED] wrote: I have a situation where I've got a NSImage reference in memory and I'd like to save that image at full size and in a number of thumbnail sizes as quickly as possible. I know how to implement the basics, but