← Back to team overview

hugin-devs team mailing list archive

[Bug 1095875] Re: crash when opening large PNG file (28MIO)

 

The error log say it all: loadImageSafely(): unsupported depth, only images with 1 or 3 channel images are supported.
Hugin can only load gray images, RGB images and RGB images with alpha channel.

This is fixed in the repository.

Workaround for older versions:
1.) Remove alpha channel from gray scale images
2.) If you need the alpha channel: convert to RGB image with alpha channel.

** Changed in: hugin
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1095875

Title:
  crash when opening large PNG file (28MIO)

Status in Hugin - Panorama Tools GUI:
  Fix Committed

Bug description:
  Picture is a scan of a b&w film produced with Gimp 2.8. It's a square
  picture (6984x6984 pixels).

  Hugin crashes when opening picture. The same picture but in jpeg opens
  correctly, but a lot of other bugs occurs when trying to control
  perspective effect on the picture.

  Ubuntu 12.04 64 bits. Fresh install of Hugin latest version from
  repository

  OS : Linux 3.2.0-35-generic x86_64
  Architecture : 64 bits
  Mémoire libre : 3073356 kio

  Hugin
  Version : 2012.0.0.a94faa15c927
  Chemin vers les ressources : /usr/share/hugin/xrc/
  Chemin vers les données : /usr/share/hugin/data/
  Chemin vers données lensfun utilisateur : /home/bruno/.local/share/lensfun

  Bibliothèques
  wxWidgets: 2.8.12.1
  libpano13: 2.9.18 
  Boost: 1.46.1
  Exiv2: 0.22.0

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


References