gimp plugin David's Batch Processor does not save resolution

Bug #1338743 reported by J G Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gimp-plugin-registry (Ubuntu)
New
Undecided
Unassigned

Bug Description

PRETTY_NAME="Ubuntu 14.04 LTS"
VERSION="14.04, Trusty Tahr"

Package: gimp-plugin-registry
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Architecture: i386
Version: 5.20120621ubuntu3
Filename: pool/universe/g/gimp-plugin-registry/gimp-plugin-registry_5.20120621ubuntu3_i386.deb
Supported: 3y

Fire up gimp 2.8, go to menu Filters, select sub-menu Batch, and item Batch Process

First tab Input, select PNG file

 pnginfo alsamixer.png

  Image Width: 48 Image Length: 48
  Bitdepth (Bits/Sample): 8
  Channels (Samples/Pixel): 4
  Pixel depth (Pixel Depth): 32
  Colour Type (Photometric Interpretation): RGB with alpha channel
  Image filter: Single row per byte filter
  Interlacing: Adam7 interlacing
  Compression Scheme: Deflate method 8, 32k window
  Resolution: 2835, 2835 (pixels per meter)
  FillOrder: msb-to-lsb
  Byte Order: Network (Big Endian)
  Number of text strings: 0 of 0

The input file contains the resolution property "2835, 2835 (pixels per meter)"

Go to Resize tab, tick Enable box and then select radio button Absolute, change both Width and Height to "22" and Fit to "Exactly"

Go to Rename tab and create/select a new directory to store the processed file.

Go to the Output tab and select Format "PNG"

Checkbox Interlacing as "on"

Adjust Deflat to "8"

Checkbox "Save Background" as "on"

Checkbox "Save Gamma" as "off"

Checkbox "Save Offset" as "on"

Checkbox "Save Time" as "on"

Checkbox "Save Resolution" as "on"

Click START button to process file.

Despite asking for the resolution to be saved, the process PNG file does NOT contain the resolution

pnginfo alsamixer.png

  Image Width: 22 Image Length: 22
  Bitdepth (Bits/Sample): 8
  Channels (Samples/Pixel): 4
  Pixel depth (Pixel Depth): 32
  Colour Type (Photometric Interpretation): RGB with alpha channel
  Image filter: Single row per byte filter
  Interlacing: Adam7 interlacing
  Compression Scheme: Deflate method 8, 32k window
  Resolution: 0, 0 (unit unknown)
  FillOrder: msb-to-lsb
  Byte Order: Network (Big Endian)
  Number of text strings: 0 of 0

When this procedure is run manually in Gimp and not through the David's Batch Processor plugin, the resoiution is saved.

pnginfo /tmp/alsamixer.png
/tmp/alsamixer.png...
  Image Width: 22 Image Length: 22
  Bitdepth (Bits/Sample): 8
  Channels (Samples/Pixel): 4
  Pixel depth (Pixel Depth): 32
  Colour Type (Photometric Interpretation): RGB with alpha channel
  Image filter: Single row per byte filter
  Interlacing: Adam7 interlacing
  Compression Scheme: Deflate method 8, 32k window
  Resolution: 2835, 2835 (pixels per meter)
  FillOrder: msb-to-lsb
  Byte Order: Network (Big Endian)
  Number of text strings: 0 of 0

Clearly this is a bug in the DBP plugin and needs to be fixed for the package "Supported: 3y".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.