alessandrofrancesconi / gimp-plugin-bimp

BIMP. Batch Image Manipulation Plugin for GIMP.
http://www.alessandrofrancesconi.it/projects/bimp
Other
894 stars 93 forks source link

Convert-indexed -> save as CCITT Group 4 TIFF produces errors #368

Open Caleb13-2 opened 1 year ago

Caleb13-2 commented 1 year ago

Hello, recently I needed to convert grayscale PNG images to monochrome (1-bit) and save them as CCITT Group 4 fax TIFF files. BIMP has a bug that prevents you from doing it at once. Steps to reproduce:

  1. Load grayscale PNGs as source files in BIMP. I'm attaching samples below.
  2. Add - Other GIMP procedure - gimp-image-convert-indexed - type of palette 3.
  3. Add - Change format and compression - TIFF - CCITT G4 fax.
  4. If you click Apply, you will get Calling error for procedure 'file-tiff-save': Only monochrome pictures can be compressed with "CCITT Group 4" or "CCITT Group 3".

The same error occurs if you try to convert color JPEGs or generally any source that isn't already monochrome. I'm using Windows GIMP 2.10.34 with BIMP 2.6. I'm also attaching *.bimp config file.

convert-mono+TIFF.zip