Bruno, thank you very much!   I will apply the patch to my ptodummy ASAP.

  regards,

   Luís Henrique

Em dom., 21 de mar. de 2021 às 19:37, Bruno Postle <[email protected]>
escreveu:

> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/hugin-ptx/YFfKn630DMLs9ycF%40postle.net.
>


-- 
-- 
Luis Henrique Camargo Quiroz
http://luishcq.br.tripod.com - http://www.christusrex.org/www2/cantgreg
http://panoramaslh.net/

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CAEKSoZZsNcq5xaBSnXFy7-VXE%2Bi7JgADY0XEr%3D28BY1QuRhGhg%40mail.gmail.com.

Reply via email to