[petsc-users] [Fwd: Re: saving views as images]

Barry Smith bsmith at mcs.anl.gov
Thu Mar 12 13:52:32 CDT 2015


> On Mar 12, 2015, at 12:49 PM, Theler German Guillermo <gtheler at cites-gss.com> wrote:
> 
> 
> On Wed, 2015-03-11 at 13:47 -0500, Barry Smith wrote:
>>   Thanks for the suggestions and observations. I have made a new branch barry/improve-afterimage
> 
> 
> Works like a charm! But note that the "reserved" line
> in your definition of PetscAfterImageFormats in xinit.c:305 the
> "reserved" follows mi previous e-mail, that was originally quoted from
> libAfterImage's documentation. That line is a comment. I think it should
> match the definitions that start at line 133 of the file import.c in
> libAfterImage source
> (https://github.com/sashavasko/afterstep-devel/blob/master/libAfterImage/import.c)

  Fixed

> 
>> that allows one to set the file format saved by passing it in the filename. On
> 
> Nice! Remember to include in the PETSc documentation the fact that
> three-letter extension ".jpg" does not work and that the user should
> pass ".jpeg" as extension.

  Added .jpg also as a supported type. When possible better to just support what the user might try then to document that it won't work :-)

  Thanks for your feedback

Barry

> 
>> my Mac with the --download-afterimage only .Gif and .Jpeg formats are supported (by Afterimage) but that will depend on your install of Afterimage I guess (Png gives me the same error message you get).
> 
> 
> My configure script complains about --download-afterimage:
> 
> gtheler at blinky:~/libs/petsc-afterimage$ ./configure
> --download-afterimage
> ===============================================================================
>             Configuring PETSc to compile on your
> system
> ===============================================================================
> TESTING: alternateConfigureLibrary from
> config.packages.Triangle(config/BuildSystem/config/package.py:640)
> *******************************************************************************
>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
> for details):
> -------------------------------------------------------------------------------
> External package afterimage does not support --download-afterimage
> *******************************************************************************
> 
> gtheler at blinky:~/libs/petsc-afterimage$
> 
> 
> 
> The zlib error is raised in libpng12's in pngwutil.c:557 because a call
> to zlib's deflateInit2 does not return Z_OK. I will investigate this
> issue in more detail.
> 
> 
> Thanks for your time
> --
> jeremy
> ________________________________
> Imprima este mensaje sólo si es absolutamente necesario.
> Para imprimir, en lo posible utilice el papel de ambos lados.
> El Grupo Sancor Seguros se compromete con el cuidado del medioambiente.
> 
> 
> 
> ************AVISO DE CONFIDENCIALIDAD************
> 
> El Grupo Sancor Seguros comunica que:
> 
> Este mensaje y todos los archivos adjuntos a el son para uso exclusivo del destinatario y pueden contener información confidencial o propietaria, cuya divulgación es sancionada por ley. Si usted recibió este mensaje erróneamente, por favor notifíquenos respondiendo al remitente, borre el mensaje original y destruya las copias (impresas o grabadas en cualquier medio magnético) que pueda haber realizado del mismo. Todas las opiniones contenidas en este mail son propias del autor del mensaje. La publicación, uso, copia o impresión total o parcial de este mensaje o documentos adjuntos queda prohibida.
> 
> Disposición DNDP 10-2008. El titular de los datos personales tiene la facultad de ejercer el derecho de acceso a los mismos en forma gratuita a intervalos no inferiores a seis meses, salvo que acredite un interés legítimo al efecto conforme lo establecido en el artículo 14, inciso 3 de la Ley 25.326. La DIRECCIÓN NACIONAL DE PROTECCIÓN DE DATOS PERSONALES, Organo de Control de la Ley 25.326, tiene la atribución de atender las denuncias y reclamos que se interpongan con relación al incumplimiento de las normas sobre la protección de datos personales.



More information about the petsc-users mailing list