Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   elog's image manipulation of .png file generated from a pdf/jpg, posted by David Pilgram on Thu Nov 22 16:23:08 2012 
    icon2.gif   Re: elog's image manipulation of .png file generated from a pdf/jpg, posted by Stefan Ritt on Wed Feb 6 13:25:33 2013 
       icon2.gif   Re: elog's image manipulation of .png file generated from a pdf/jpg, posted by David Pilgram on Sat Feb 9 15:11:19 2013 
          icon2.gif   Re: elog's image manipulation of .png file generated from a pdf/jpg, posted by Stefan Ritt on Mon Feb 11 14:21:05 2013 
             icon2.gif   Re: elog's image manipulation of .png file generated from a pdf/jpg, posted by Martin Rongen on Tue Jul 16 15:42:30 2013 
                icon2.gif   Re: elog's image manipulation of .png file generated from a pdf/jpg, posted by Stefan Ritt on Tue Jul 16 16:35:01 2013 psi.png
                   icon6.gif   Re: elog's image manipulation of .png file generated from a pdf/jpg, posted by Andreas Luedeke on Fri Jul 19 14:03:29 2013 psi.pdf
                      icon2.gif   Re: elog's image manipulation of .png file generated from a pdf/jpg, posted by Martin Rongen on Mon Jul 22 14:05:48 2013 
Message ID: 67430     Entry time: Wed Feb 6 13:25:33 2013     In reply to: 67385     Reply to this: 67432
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 2.9.2-2475 
Subject: Re: elog's image manipulation of .png file generated from a pdf/jpg 
> Hi all, 
> 
> Is it just my system or do others have this odd issue.
> 
> I have a pdf file which is 'upside-down', I attached it to an elog entry, and the .png image thumbnail was
> generated.  Now this too was upside-down, so I tried to use the left (or right) rotation buttons along the top
> of the image in elog to do a 180 degree rotation.
> The first 90 degree rotation was fine, but the second attempt just made a smaller image.  
> It happens with various pdf files generated by various software (in case).
> I also tried it with a jpg file, in that case the second attempt enlarged the image.
> 
> I could not find any way to actually invert the .png image using elog; but I was surprised that a second
> rotation ddid something different (change magnification) rather than nothing at all if it could only cope with a
> 90 degree rotation.
> 
> It's not a vital fix for me, but I have found the thumbnail (png) manipulation functions have a few rough edges,
> so when necessary I use xv or gimp on the .png file to get what I want.
> 
> Or is this just my system?

I just tried on the demo logbook:

https://midas.psi.ch/elogs/Linux+Demo/14

and it worked fine in rotating the image twice. Can you try yourself and find out if it's related to your installation if ImageMagic, or the actual image file?

/Stefan
ELOG V3.1.5-fe60aaf