Gimp destroyes image file when trying to save as .tif with jpeg compression
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Gimp |
Fix Released
|
Medium
|
|||
gimp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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
PhotometricInte
TIFF image Message
Failed a scanline write on row 0
GIMP Message
Saving '/home/
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
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelMo
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)
Changed in gimp: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in gimp: | |
status: | New → Incomplete |
Changed in gimp: | |
status: | Incomplete → New |
Changed in gimp: | |
status: | New → Confirmed |
Changed in gimp: | |
status: | Confirmed → Fix Released |
I have tested this example and can confirm this behaviour. I'll make an upstream bug report. Thank you for reporting this bug to Ubuntu!