goldenXcode / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Store shades, layers, and other inffos in picture files. #208

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Amiga IFF/LBM fileformat had extensive support for meta-data.
This was used to save various extra image-related data, like color ranges,
screenmode, etc.
Is there a widely used image format that can store this type of data?
Perhaps PNG(my fav, I admit)?

Imagine being able to save brush-bank with an image, or layers.

Original issue reported on code.google.com by ilija.melentijevic on 24 Aug 2009 at 10:26

GoogleCodeExporter commented 9 years ago
GIF and PNG support arbitrary data that only Grafx2 will recognize, all other
programs will ignore it. We have to be very careful in the internal format we 
choose,
as it won't be possible to change when such image files are "in the wild".
It also tends to bloat the files since there's no compression, so I hesitate to 
store
too much data like this. 

Layers will have to use this trick, we don't have any choice.

You think Brush-bank should be image-specific ? But then you won't be able to 
"share"
between images (Main page and spare with different banks??) , and new images 
will
start with an empty bank instead of your favorite usual brushes...

Original comment by yrizoud on 24 Aug 2009 at 11:17

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by pulkoma...@gmail.com on 15 Sep 2009 at 7:13

GoogleCodeExporter commented 9 years ago

Original comment by pulkoma...@gmail.com on 5 Apr 2010 at 8:49

GoogleCodeExporter commented 9 years ago
The good thing about IFF is that it is not specifically an image format, but a 
generic container. It was developped at EA not only with DP in mind, but all 
the other things they were doing. There can be chunks of any form in it, 
including sound or raw 68000 binary code.
This is very different, for example, from the PI1 or NEO formats that were used 
on the Atari ST.

As for compression, it's a fake problem. We can set a single chunk in both gif 
and png and compress it the way we want, as we don't need anyone else to be 
able to load it.
However, it is nice to be able to export a clean picture once you'r edone with 
grafx2. In this case, if size matters, you can use pngcrush or another similar 
tool. I think pngcrush can remove our chunks.

Actually, we should keep a working format that can save "everything". Layers, 
color cycling, brush sets, range of shades... The idea is then to have a "save 
everything" button that save this. You could have a file with no picture data 
and only a brush set (or even a single brush) inside.

Most other tools do it that way : photoshop has psd, gimp has xcf. They allow 
you to export to other formats when you are done. PNG and GIF both allow us to 
do that, IFF also works. I'd rather not relive PKM, but it could work too.

Original comment by pulkoma...@gmail.com on 22 Aug 2010 at 5:05

GoogleCodeExporter commented 9 years ago

Original comment by pulkoma...@gmail.com on 20 Jan 2011 at 8:40

GoogleCodeExporter commented 9 years ago

Original comment by pulkoma...@gmail.com on 15 Feb 2011 at 8:12

GoogleCodeExporter commented 9 years ago
Arbitering issues that make it to v2.4

Original comment by yrizoud on 8 Mar 2012 at 7:18