home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.mint      Looks pretty on the outside, thats it!      30,566 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 29,904 of 30,566   
   pinnerite to Paul   
   Re: Savea rotated image in Gimp   
   15 Dec 25 18:00:23   
   
   From: pinnerite@gmail.com   
      
   On Mon, 15 Dec 2025 09:48:53 -0500   
   Paul  wrote:   
      
   > On Mon, 12/15/2025 9:20 AM, pinnerite wrote:   
   > > GIMP 2.10.36   
   > >   
   > > I have been scanning articles from a journal.   
   > > When I opened them in Gimp, reversed the image that was inverted   
   > > and exported the result, they were still inverted. I cannot remember   
   > > this being the case in the past.   
   > >   
   > > I have tried to find a solution via Google but nothing seems to work.   
   > >   
   > > Alan   
   >   
   > Some image formats, have a metadata bit indicating the   
   > image should be rotated. This applies a rotation   
   > not captured in the pixmap part.   
   >   
   > The Linux "file" command can tell you something of the image type:   
   >   
   >    file mymysterymeat   
   >   
   > JPG file or PNG file or TIFF file  and so on.   
   >   
   > Some scanners produce TIF, some produce PDF, and so on.   
   > There are a few options for what you're looking at right now.   
   >   
   > *******   
   >   
   > Let's make up a strawman for you.   
   >   
   > An image has the pixmap rotated. The metadata says to   
   > rotate it some more. Alan looks at the image on his   
   > screen, and due to the "total 360" degrees of rotation,   
   > Alan attaches it to an email and sends it to a friend.   
   >   
   > The friend comments "why did you send me this upside-down   
   > image, Alan?". Then, Alan cannot figure out what is amiss,   
   > as the image looks just dandy on Alans screen.   
   >   
   > The problem in this case, is viewing tools do not   
   > always honour the metadata rotation bit. Alans viewing tool   
   > honoured the bit and added the extra rotation, the friend   
   > of Alan with a less featureful image viewer, the metadata   
   > bit is ignored.   
   >   
   > I think you can see from my little strawman, that it behooves   
   > the computer scientist preparing the image, to *remove*   
   > the metadata rotation, then apply whatever physical rotation   
   > is really needed. *Then*, when the friend receives the photo,   
   > it no longer matters whether the friend has an "old" or a "new"   
   > image viewer, the picture looks the same in all of them and   
   > it also looks like it did on Alans screen.   
   >   
   > Apple likes to save out images, with metadata rotation asserted.   
   >   
   >     Paul   
      
   Thanks Paul but my problem is simpler.   
   Usiung Xsane I scanned 3 pages of a magazine article.   
   For the second one I had to rotate the page.   
      
   I loaded them one by one into Gimp to clean them up and re-exported   
   them. I rotated the second page before  re-exporting it.   
      
   Finally I installed pdfchain and did it using that.   
      
   All the best,   
   Alan   
      
      
      
   --   
   Linux Mint 22.1 kernel version 6.8.0-84-generic Cinnamon 6.4.8   
   AMD Ryzen 7 7700, Radeon RX 6600, 32GB DDR5, 2TB SSD, 2TB Barracuda   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca