On Sun 21-Mar-2021 at 11:23 -0300, Luís Henrique Camargo Quiroz wrote:
  @Bruno: I think you have  used ptodummy to generate (missing) files for
the pto, right?
   I tried this recently, however it is not working here, Debian testing,
with this error message:
convert-im6.q16: unable to read image data `/tmp/9Y8FDe8hK7.pnm' @
error/pnm.c/ReadPNMImage/1340.
convert-im6.q16: no images defined `im31.jpg' @
error/convert.c/ConvertImageCommand/3229.

 Any clues about this? Thank you!

Hi Luís, yes I used ptodummy. The error is caused by a change in ImageMagick (it now requires a PNM image to have a trailing newline).

It is already fixed in mercurial, or you could apply this patch to ptodummy:

--- a/bin/ptodummy
+++ b/bin/ptodummy
@@ -22,7 +22,7 @@
     my $r = 64 + int(rand(128));
     my $g = 64 + int(rand(128));
     my $b = 64 + int(rand(128));
-    print $pnm "P3\n# CREATOR: $0\n1 1\n255\n$r\n$g\n$b";
+    print $pnm "P3\n# CREATOR: $0\n1 1\n255\n$r\n$g\n$b\n";

     next unless $image->{w} =~ /^[0-9]+$/;
     next unless $image->{h} =~ /^[0-9]+$/;

--
Bruno

--
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/YFfKn630DMLs9ycF%40postle.net.

Reply via email to