← Back to team overview

desktop-packages team mailing list archive

[Bug 884145] Re: Gimp destroyes image file when trying to save as .tif with jpeg compression

 

Patch from upstream bug report is in Utopic.

** Changed in: gimp (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, 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

Status in The GNU Image Manipulation Program (GIMP):
  Fix Released
Status in gimp package in Ubuntu:
  Fix Released

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
  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)

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


References