← Back to team overview

hugin-devs team mailing list archive

[Bug 1659528] [NEW] align_image_stack fails to process PNGs: Assertion failed

 

Public bug reported:

align_image_stack fails for certian PNG files that were created by
ImageMagick convert from a CorelDRAW-created PDF file.

Here's the commandline output:

Unable to read EXIF data from opened file:C47C_ref.png
Unable to read EXIF data from opened file:C47C_src.png
Creating control points between C47C_ref.png and C47C_src.png
align_image_stack: /build/hugin-xzKV1g/hugin-2015.0.0+dfsg/src/tools/align_image_stack.cpp:740: int main2(std::vector<std::__cxx11::basic_string<char> >, Parameters) [with PixelType = vigra::RGBValue<unsigned char>]: Assertion `nextImgInfo.size() == firstImgInfo.size()' failed.

Sometimes it works, sometimes it doesn't. I tried converting the files
back and forth to different formats to drop any strange data that could
confuse align_image_stack, but it kept failing to process the files.

Is this a bug?

** Affects: hugin
     Importance: Undecided
         Status: New

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

Title:
  align_image_stack fails to process PNGs: Assertion failed

Status in Hugin:
  New

Bug description:
  align_image_stack fails for certian PNG files that were created by
  ImageMagick convert from a CorelDRAW-created PDF file.

  Here's the commandline output:

  Unable to read EXIF data from opened file:C47C_ref.png
  Unable to read EXIF data from opened file:C47C_src.png
  Creating control points between C47C_ref.png and C47C_src.png
  align_image_stack: /build/hugin-xzKV1g/hugin-2015.0.0+dfsg/src/tools/align_image_stack.cpp:740: int main2(std::vector<std::__cxx11::basic_string<char> >, Parameters) [with PixelType = vigra::RGBValue<unsigned char>]: Assertion `nextImgInfo.size() == firstImgInfo.size()' failed.

  Sometimes it works, sometimes it doesn't. I tried converting the files
  back and forth to different formats to drop any strange data that
  could confuse align_image_stack, but it kept failing to process the
  files.

  Is this a bug?

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


Follow ups