Reputation: 15628
I Encrypted an image by using AES algorithm. Encryption and Decryption works well. Now the thumbnail of the image is the default image.
But I want something that looks useful for the user. like this image.
I have searched a lot but I can find only the quicklook for the document based applications. How can I add thumbnail for jpeg, png or tiff images ?
Upvotes: 0
Views: 138
Reputation: 19030
I assume you know the path to the file when you create it and you have the icon images in your project, so then just use the NSWorkspace method setIcon:forFile:options:.
Upvotes: 1