Do you know a way to straighten a photo that is displayed upside down when I want to include it on a topic of a site.
These photos taken on the phone, I straighten them with Shotwell then I record. When I post these photos, they are the wrong way round.
Thank you for your help
I think I know what you mean.
I seem to remember that after rotating and saving in the Shotwell viewer, the picture was not rotated when I opened it in other apps etc
I think this is why
Non-destructive so the original is preserved. Some GIS software pckages have the same feature. There are QA/QC, and occasionally, legal reasons that the original always be preserved. Having to export the manipulated image adds a level of redundancy (assuming the original was backed up) and “idiot proofing”.
Sorry not on Phone but on my computer this is what I do:
24 Feb 23 @ 15:48:09 ~
$ cd /media/5/images/
24 Feb 23 @ 15:48:48 /media/5/images
$ meta
↓ jpg found
Warning: ICC_Profile deleted. Image colors may be affected - 3+.pair.jpg
Warning: ICC_Profile deleted. Image colors may be affected - COMP.jpg
Warning: ICC_Profile deleted. Image colors may be affected - Happy·Birthday·Linux.jpg
Warning: ICC_Profile deleted. Image colors may be affected - Lily-Disabled.jpg
Warning: ICC_Profile deleted. Image colors may be affected - My.weather.jpg
Warning: ICC_Profile deleted. Image colors may be affected - Que.miras,bobo.jpg
Warning: ICC_Profile deleted. Image colors may be affected - VI_V_IV_Vikings.jpg
91 image files updated
48 image files unchanged
↓ jpeg found
6 image files updated
2 image files unchanged
→ no JPG's
→ no JPEG's
↓ png found
Warning: [minor] Text chunk(s) found after PNG IDAT (fixed) - Vector_Video_Standards.png
3 image files updated
12 image files unchanged
→ no PNG's
→ Removing *_original files
24 Feb 23 @ 15:48:53 /media/5/images
$
As you see I forget to do it sometimes… until prompted.
Go to hades GNOME!
#!/bin/bash
# remove meta data from images
# this version will work only in current directory.
# added " -r " to do sub directories
shopt -s nullglob
set -- *.jpg
echo " "
if [ "$#" -gt 0 ]
then
echo " ↓ jpg found"
exiftool -all= -r *.jpg
else
echo "→ no jpg's"
fi
set -- *.jpeg
echo " "
if [ "$#" -gt 0 ]
then
echo " ↓ jpeg found"
exiftool -all= -r *.jpeg
else
echo "→ no jpeg's"
fi
set -- *.JPG
echo " "
if [ "$#" -gt 0 ]
then
echo " ↓ JPG found"
exiftool -all= -r *.JPG
else
echo "→ no JPG's"
fi
set -- *.JPEG
echo " "
if [ "$#" -gt 0 ]
then
echo " ↓ JPEG found"
exiftool -all= -r *.JPEG
else
echo "→ no JPEG's"
fi
set -- *.png
echo " "
if [ "$#" -gt 0 ]
then
echo " ↓ png found"
exiftool -all= -r *.png
else
echo "→ no png's"
fi
set -- *.PNG
echo " "
if [ "$#" -gt 0 ]
then
echo " ↓ PNG found"
exiftool -all= -r *.PNG
else
echo "→ no PNG's"
fi
# rm *_original files created by exiftool
set -- *_original
echo " "
if [ "$#" -gt 0 ]
then
echo "→ Removing *_original files"
rm *_original
else
echo "→ no *_original files found"
fi
exit
I thought my tests showed that if you save it after rotation in Gthumb then its not ‘non destructive’ (i.e. the file itself has been changed, not just a flag) since the rotation is then still there when i reopen the file in all the other apps I mentioned, including Gimp.