Hello,
I'm having trouble with writing an icon with PutIconTags(). What I'm trying to do is to read the properties of two icon files (image, icon type, default tool, etc.) and save an icon that is a combination of the two icons.
My program reads the two icon files first with GetDiskObject(). Then it creates a blank icon with NewDiskObject() and sets the blank icon's struct DiskObject data members.
When the "blank icon" is saved with PutIconTags(), all the properties are correct in the saved icon file except the icon image. For some reason PutIconTags() saves a 4 color "Old Image" only.
How can I make it save a full color image?
@Jap
Maybe this will help you out? From what I remember when I first created this code, I suffered from simmilar issues, so...
Especially the 'Image'-related tags are of any interest.
OldFart
DupDiskObject() solved the problem, thanks!