05-23-2022, 10:01 AM
(This post was last modified: 05-23-2022, 11:02 AM by rich2005.
Edit Reason: typos
)
Quote:There are other Open Source command-line graphic tools for Linux, such as;
GraphicsMagick Image Processing System http://www.graphicsmagick.org/
Scrot https://github.com/dreamer/scrot
Feh https://feh.finalrewind.org/
Exiv2 https://exiv2.org/
Do you have experience running them?
That is a real mixture, I can not remember which came first, I think GM before IM but they are forks of the same. You do not need both, stick with IM. Scrot I have used for capturing time-lapse frames the others ??? but if you are looking for a command line viewer then IM has the display function.
Quote:....but the brightness and contrast look completely different viewed on Image Views. I don't know why? ...I have to adjust their values blindlessly.
I think you are asking a graphics appliction to make decisions for you. Each negative is going to be different and need your attention, batch is for running through a list without intervention.
However as a starting point for *you* to improve on. Assuming all images are jpeg
Code:
#!/bin/bash
find . -name "*.jpg" | while read fname ; do
echo "Doing: $fname"
convert -negate -brightness-contrast 23x56 "$fname" temp.png
display -resize 500x500 temp.png
read -p "Press any key to continue... "
echo "Press the space bar..."
rm temp.png
convert "$fname" -negate -brightness-contrast 23x56 "${fname%%jpg}png"
done
Put that in the folder with your images and run it in a terminal so you can answer the "press any key..."
Using Ubuntu 20.04 and Gimp 2.10.18 ? Probably a stock Gimp that comes without python support so Ofnuts plugins are out. Gmic does provide a decent preview and filter values saved for future use, but it is a one-by-one plugin (unless used with bimp, back to the no-preview scenario)
best of luck...