It seems like the gimp XCF file format is not compatable between gimp-1.2 and filmgimp (in 8 bit mode).
There is no reason not to be able to load and save those files.
Logged In: YES user_id=211347
It doesnt appear to work even with filmgimp files, saved out at 16-bit, 16-bit float or float.
Not quite sure if its due to the data being corrupted or the file-load being corrupted.
You can save and then reload an xcf file on irix, which probably means its a byteswap issue.
Logged In: YES user_id=130897
There is a bug in writing XCF. I noticed because it won't compile under VC++. In xcf.c the assignment is 'tmp = tmp_long;' where 'tmp = *tmp_long;' was probably intended.
static guint xcf_write_float (FILE *fp, gfloat *data, gint count) { guint32 tmp; guint32 *tmp_long; int i;
if (count > 0) { for (i = 0; i < count; i++) { tmp_long = (guint32 *) &data[i]; /*tmp = htonl (*tmp_long);*/ tmp = tmp_long; xcf_write_int8 (fp, (guint8*) &tmp, 4); } }
return count * 4; }
The xcf filmgimp format does appear to now work on all platforms but its still not compatable with gimp.
Log in to post a comment.
Logged In: YES
user_id=211347
It doesnt appear to work even with filmgimp files, saved out
at 16-bit, 16-bit float or float.
Not quite sure if its due to the data being corrupted or the
file-load being
corrupted.
Logged In: YES
user_id=211347
You can save and then reload an xcf file on irix, which probably
means its a byteswap issue.
Logged In: YES
user_id=130897
There is a bug in writing XCF. I noticed because it won't
compile under VC++. In xcf.c the assignment is 'tmp =
tmp_long;' where 'tmp = *tmp_long;' was probably intended.
static guint
xcf_write_float (FILE *fp,
gfloat *data,
gint count)
{
guint32 tmp;
guint32 *tmp_long;
int i;
if (count > 0)
{
for (i = 0; i < count; i++)
{
tmp_long = (guint32 *) &data[i];
/*tmp = htonl (*tmp_long);*/
tmp = tmp_long;
xcf_write_int8 (fp, (guint8*) &tmp, 4);
}
}
return count * 4;
}
Logged In: YES
user_id=211347
The xcf filmgimp format does appear to now work on all platforms
but its still not compatable with gimp.