Menu

#1 Cannot load XCF file from regular gimp

open
nobody
None
5
2002-09-07
2002-09-07
No

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.

Discussion

  • Sam Richards

    Sam Richards - 2002-09-21

    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.

     
  • Sam Richards

    Sam Richards - 2002-10-14

    Logged In: YES
    user_id=211347

    You can save and then reload an xcf file on irix, which probably
    means its a byteswap issue.

     
  • Robin Rowe

    Robin Rowe - 2002-11-14

    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;
    }

     
  • Sam Richards

    Sam Richards - 2002-12-30

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB