Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hrishidev

macrumors regular
Original poster
Dec 3, 2007
107
4
Hi
My question can we access the preview image shown by finder in cocoa
can we use it as NSImage object ????
Are these preview images are stored somewhere (means in resource fork )
can we set/edit this preview image
 

lee1210

macrumors 68040
Jan 10, 2005
3,182
3
Dallas, TX
https://forums.macrumors.com/threads/538263/

That thread discussed a number of ways to tackle this. The OP in that thread eventually chose a domain-specific solution by using a thumbnail stored in the resource fork by adobe apps, but there are some links and discussions about the actual code that Finder uses to do this.

QLThumbnailImageCreate is probably a better answer, but is 10.5 only. You didn't say what OSs you are targeting, so that may be OK.

-Lee
 

hrishidev

macrumors regular
Original poster
Dec 3, 2007
107
4
The code at the end of thread seems to be useful .... i will try it and will come back here again ..... Thanks for replies guys
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.