Public bug reported:

To reproduce the bug follow these steps

1. Start Gimp and open the example-before.tif with LZW compression attached 
below
2. Go to Image -> Mode -> Indexed, choose "Generate optimum palette -> Maximum 
number of colors", change the value from 256 to 16 and hit "Convert" button
3. Go to File -> Save, replace the file and change compression to jpeg
4. Now a message appears saying:
TIFF image Message
PhotometricInterpretation 3 not allowed for JPEG
TIFF image Message
Failed a scanline write on row 0
GIMP Message
Saving '/home/myname/example-after.tif' failed:
TIFF image plug-in could not save image
5. The file with the image on the disc now has a size of 8 bytes and cannot be 
opened or viewed anymore (see the example-after.tif attached)

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gimp 2.6.11-2ubuntu4
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Mon Oct 31 10:46:37 2011
EcryptfsInUse: Yes
InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008.1)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gimp
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (16 days ago)

** Affects: gimp (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gimp in Ubuntu.
https://bugs.launchpad.net/bugs/884145

Title:
  Gimp destroyes image file when trying to save as .tif with jpeg
  compression

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/884145/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to