05-23-2022, 11:19 AM
(This post was last modified: 05-23-2022, 11:40 AM by Stephen Liu.)
(05-23-2022, 10:01 AM)rich2005 Wrote:Noted and thanks. Yes, all are jpeg images. For other image formats I can convert them to jpegQuote: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
Quote:I'll test it later. ThanksCode:
#!/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..."
Quote: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)Yes GIMP was installed on Ubuntu 20.04 repo. Whether uninstall it and re-install it running;
Flatpad
Or
Snap
?
Performed further test as follow
Step-1
Scan a new film negative on Smartphone running "Photo Negative Scan"
Step-2
Continue on Smartphone, start Snapscan converting the negative photo to positive and filtering the positive photo
Step-3
Save the positive photo and download it to computer.
I think it would be better converting the scanned photo direct on Smartphone to positive photo and filter it there
Pls refer to attached photo
photo-1 convert to positive and filter on Smartphone
photo-2 convert to positive image on Terminal without filtering
Edit
===
Could you please suggest the steps of post-editing photo-1? Thanks
Regards