RSS/Atom feed Twitter
Site is read-only, email is disabled

Editing g4 tiffs

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Editing g4 tiffs Chris Gregan 19 Nov 23:50
Editing g4 tiffs Kevin Myers 19 Nov 23:59
Chris Gregan
2004-11-19 23:50:54 UTC (over 19 years ago)

Editing g4 tiffs

Hello,
I am trying to edit g4 compressed tiffs, and have run into some difficulty. When I open a tiff Gimp alerts "unknown field with tag 32934 (0x80a6) encountered." However, the tiff does open. After editing I attempt to save back to the tiff. The following errors are displayed; "Failed a scanline write on row 0", and "Bits/sample must be 1 for group 3/4 encoding/decoding." I have tried to decompress using libtiff tools first, then edit and save back as an uncompressed tiff, finally converting to g4 using libtiff tools, but encounter the same errors in tiffcp. I'm hoping there is a setting in Gimp that will allow me to edit g4 and save as g4 without libtiff tools or errors. Is there?

Kevin Myers
2004-11-19 23:59:06 UTC (over 19 years ago)

Editing g4 tiffs

Unfortunately the GIMP doesn't support writing out 1 bit TIFF images. My own solution is to use Save As, choose uncompressed or some other compression scheme that supports grayscale TIFF images, then use another application to convert back to 1 bit and apply the G4 compression. Ugly? You bet. Unfortunately, there doesn't seem to be a lot of interest among most of the GIMP developers for supporting single bit depth images. Most of them are more interested in typical "graphics art" type images that require at least 8 bits per pixel. One of these days, some of us who need to work with one bit images are going to have to bite the bullet and jump in with both feet to contribute to the development effort and address this restriction.

s/KAM

I am trying to edit g4 compressed tiffs, and have run into some difficulty. When I open a tiff Gimp alerts "unknown field with tag 32934 (0x80a6) encountered." However, the tiff does open. After editing I attempt to save back to the tiff. The following errors are displayed; "Failed a scanline write on row 0", and "Bits/sample must be 1 for group 3/4 encoding/decoding." I have tried to decompress using libtiff tools first, then edit and save back as an uncompressed tiff, finally converting to g4 using libtiff tools, but encounter the same errors in tiffcp. I'm hoping there is a setting in Gimp that will allow me to edit g4 and save as g4 without libtiff tools or errors. Is there?