← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1338743] [NEW] gimp plugin David's Batch Processor does not save resolution

 

Public bug reported:

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

Package: gimp-plugin-registry
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
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".

** Affects: gimp-plugin-registry (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to gimp-plugin-registry in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1338743

Title:
  gimp plugin David's Batch Processor does not save resolution

Status in “gimp-plugin-registry” package in Ubuntu:
  New

Bug description:
  PRETTY_NAME="Ubuntu 14.04 LTS"
  VERSION="14.04, Trusty Tahr"

  Package: gimp-plugin-registry
  Origin: Ubuntu
  Maintainer: Ubuntu Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
  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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gimp-plugin-registry/+bug/1338743/+subscriptions


Follow ups

References