Thread: Feature Request Crystal and Clock
View Single Post
Old 11-21-2008, 12:04 AM   #49
Jim Sachs
Developer
 
Jim Sachs's Avatar
 
Join Date: Dec 2000

Location: Southern Oregon
Posts: 9,768
Maybe.

Edit: I've done some research and experiments on the PNG standard, and it looks like I can add a few bytes after the iEND chunk without harming the file. This is probably the best way to store the information. My program would load the picture, look for the custom bytes at the end, use them if they are there, otherwise default to the normal position for the logo. I don't have Photoshop, but PaintShop Pro still loads the file normally with my extra bytes at the end. When PSP re-saves the file, the bytes are gone, so if you modify the picture, you'll need to recenter it.
Jim Sachs
Creator of SereneScreen Aquarium

Last edited by Jim Sachs; 11-21-2008 at 01:49 PM.
Jim Sachs is offline   Reply With Quote