Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #208015 > unrolled thread
| Started by | mick crane <mick.crane@gmail.com> |
|---|---|
| First post | 2019-05-01 20:00 +0200 |
| Last post | 2019-05-02 09:40 +0200 |
| Articles | 9 — 5 participants |
Back to article view | Back to linux.debian.user
batch process jpegs mick crane <mick.crane@gmail.com> - 2019-05-01 20:00 +0200
Re: batch process jpegs Jonas Smedegaard <jonas@jones.dk> - 2019-05-01 20:20 +0200
Re: batch process jpegs mick crane <mick.crane@gmail.com> - 2019-05-02 07:30 +0200
Re: batch process jpegs mick crane <mick.crane@gmail.com> - 2019-05-02 08:40 +0200
Re: batch process jpegs Eric S Fraga <e.fraga@ucl.ac.uk> - 2019-05-11 15:30 +0200
Re: batch process jpegs Joel Roth <joelz@pobox.com> - 2019-05-01 21:00 +0200
Re: batch process jpegs Jonas Smedegaard <jonas@jones.dk> - 2019-05-01 21:30 +0200
Re: batch process jpegs Siard <shiems146@kpnplanet.nl> - 2019-05-01 22:20 +0200
Re: batch process jpegs mick crane <mick.crane@gmail.com> - 2019-05-02 09:40 +0200
| From | mick crane <mick.crane@gmail.com> |
|---|---|
| Date | 2019-05-01 20:00 +0200 |
| Subject | batch process jpegs |
| Message-ID | <xT1Gp-7Ak-3@gated-at.bofh.it> |
I've got a bunch of jpgs from the camera where the bits I want are a bit underexposed. What I'd like is a GUI that will batch process them. It's been a few years since I processed any camera images and I seem to have forgotten what my workflow was. I think I might be able to do it with Graphic::Magick if I could give it some sensible numbers and nip2 looks like it can do it so I'm reading the docs for that. I can't quite see how to use Gimp script-fu thing. Any suggestions for available GUI that will batch process jpgs ? mick -- Key ID 4BFEBB31
[toc] | [next] | [standalone]
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Date | 2019-05-01 20:20 +0200 |
| Message-ID | <xT1ZL-7Wy-1@gated-at.bofh.it> |
| In reply to | #208015 |
[Multipart message — attachments visible in raw view] — view raw
Quoting mick crane (2019-05-01 19:59:06) > I've got a bunch of jpgs from the camera where the bits I want are a bit > underexposed. What I'd like is a GUI that will batch process them. > It's been a few years since I processed any camera images and I seem to > have forgotten what my workflow was. > I think I might be able to do it with Graphic::Magick if I could give it > some sensible numbers and nip2 looks like it can do it so I'm reading > the docs for that. > I can't quite see how to use Gimp script-fu thing. > Any suggestions for available GUI that will batch process jpgs ? The king of photo editing nowadays is darktable - can be confusing to navigate at first, but is quite powerful - also does batch processing. But if you mean shell scripting then you want something else - and for each of perl, python, ruby, haskell, java, etc. there is no doubt several capable photo processing libraries if you want even more "scripting" than shell. :-) - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
[toc] | [prev] | [next] | [standalone]
| From | mick crane <mick.crane@gmail.com> |
|---|---|
| Date | 2019-05-02 07:30 +0200 |
| Message-ID | <xTcs9-5Yl-1@gated-at.bofh.it> |
| In reply to | #208016 |
On 2019-05-01 19:15, Jonas Smedegaard wrote: > Quoting mick crane (2019-05-01 19:59:06) >> I've got a bunch of jpgs from the camera where the bits I want are a >> bit >> underexposed. What I'd like is a GUI that will batch process them. >> It's been a few years since I processed any camera images and I seem >> to >> have forgotten what my workflow was. >> I think I might be able to do it with Graphic::Magick if I could give >> it >> some sensible numbers and nip2 looks like it can do it so I'm reading >> the docs for that. >> I can't quite see how to use Gimp script-fu thing. >> Any suggestions for available GUI that will batch process jpgs ? > > The king of photo editing nowadays is darktable - can be confusing to > navigate at first, but is quite powerful - also does batch processing. > > But if you mean shell scripting then you want something else - and for > each of perl, python, ruby, haskell, java, etc. there is no doubt > several capable photo processing libraries if you want even more > "scripting" than shell. :-) > > > - Jonas Thanks, Darktable looks awesome and friendly interface. Now I just need to find the "apply to all" menu item. mick -- Key ID 4BFEBB31
[toc] | [prev] | [next] | [standalone]
| From | mick crane <mick.crane@gmail.com> |
|---|---|
| Date | 2019-05-02 08:40 +0200 |
| Message-ID | <xTdxT-6Bu-1@gated-at.bofh.it> |
| In reply to | #208024 |
On 2019-05-02 06:21, mick crane wrote: > On 2019-05-01 19:15, Jonas Smedegaard wrote: >> Quoting mick crane (2019-05-01 19:59:06) >>> I've got a bunch of jpgs from the camera where the bits I want are a >>> bit >>> underexposed. What I'd like is a GUI that will batch process them. >>> It's been a few years since I processed any camera images and I seem >>> to >>> have forgotten what my workflow was. >>> I think I might be able to do it with Graphic::Magick if I could give >>> it >>> some sensible numbers and nip2 looks like it can do it so I'm reading >>> the docs for that. >>> I can't quite see how to use Gimp script-fu thing. >>> Any suggestions for available GUI that will batch process jpgs ? >> >> The king of photo editing nowadays is darktable - can be confusing to >> navigate at first, but is quite powerful - also does batch processing. >> >> But if you mean shell scripting then you want something else - and for >> each of perl, python, ruby, haskell, java, etc. there is no doubt >> several capable photo processing libraries if you want even more >> "scripting" than shell. :-) >> >> >> - Jonas > > Thanks, Darktable looks awesome and friendly interface. Now I just > need to find the "apply to all" menu item. > > mick well that seems to work. change one of the photos in darktable and it saves the .xmp file close darktable. #!/bin/bash let n=1000 for i in *.JPG do darktable-cli $i IMG_7169.JPG.xmp $n.jpg let n=n+1 done -- Key ID 4BFEBB31
[toc] | [prev] | [next] | [standalone]
| From | Eric S Fraga <e.fraga@ucl.ac.uk> |
|---|---|
| Date | 2019-05-11 15:30 +0200 |
| Message-ID | <xWAeB-RP-5@gated-at.bofh.it> |
| In reply to | #208016 |
On Wednesday, 1 May 2019 at 20:15, Jonas Smedegaard wrote: > Quoting mick crane (2019-05-01 19:59:06) >> I've got a bunch of jpgs from the camera where the bits I want are a bit >> underexposed. What I'd like is a GUI that will batch process them. [...] > The king of photo editing nowadays is darktable - can be confusing to > navigate at first, but is quite powerful - also does batch processing. Thanks for this. I'd forgotten about darktable. Very nice (although indeed confusing at first, especially as the font size is way too small on my large monitor). For the OP, I tend to use 'convert' for shell script manipulation of images. -- Eric S Fraga via Emacs 27.0.50 & org 9.2.3 on Debian buster/sid
[toc] | [prev] | [next] | [standalone]
| From | Joel Roth <joelz@pobox.com> |
|---|---|
| Date | 2019-05-01 21:00 +0200 |
| Message-ID | <xT2Ct-8au-9@gated-at.bofh.it> |
| In reply to | #208015 |
mick crane wrote:
> I've got a bunch of jpgs from the camera where the bits I want are a bit
> underexposed. What I'd like is a GUI that will batch process them.
...
> Any suggestions for available GUI that will batch process jpgs ?
Hi Mick,
I would suggest using the command line utility 'convert'
that belongs to imagemagick.
Batch processing is generally easier to manage at the
command line, even if it takes you an hour to learn
how to do it.
cheers and HTH
convert -brightness-contrast <params> input-file output-file
docs from https://imagemagick.org/script/command-line-options.php#brightness-contrast
-brightness-contrast brightness
-brightness-contrast brightness{xcontrast}{%}
Adjust the brightness and/or contrast of the image.
Brightness and Contrast values apply changes to the input image. They are not absolute settings. A brightness or contrast value of zero means no change. The range of values is -100 to +100 on each. Positive values increase the brightness or contrast and negative values decrease the brightness or contrast. To control only contrast, set the brightness=0. To control only brightness, set contrast=0 or just leave it off.
You may also use -channel to control which channels to apply the brightness and/or contrast change. The default is to apply the same transformation to all channels.
Brightness and Contrast arguments are converted to offset and slope of a linear transform and applied using -function polynomial "slope,offset".
The slope varies from 0 at contrast=-100 to almost vertical at contrast=+100. For brightness=0 and contrast=-100, the result are totally midgray. For brightness=0 and contrast=+100, the result will approach but not quite reach a threshold at midgray; that is the linear transformation is a very steep vertical line at mid gray.
Negative slopes, i.e. negating the image, are not possible with this function. All achievable slopes are zero or positive.
The offset varies from -0.5 at brightness=-100 to 0 at brightness=0 to +0.5 at brightness=+100. Thus, when contrast=0 and brightness=100, the result is totally white. Similarly, when contrast=0 and brightness=-100, the result is totally black.
As the range of values for the arguments are -100 to +100, adding the '%' symbol is no different than leaving it off.
>
> mick
> --
> Key ID 4BFEBB31
>
--
Joel Roth
[toc] | [prev] | [next] | [standalone]
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Date | 2019-05-01 21:30 +0200 |
| Message-ID | <xT35v-8p-1@gated-at.bofh.it> |
| In reply to | #208017 |
[Multipart message — attachments visible in raw view] — view raw
Quoting Joel Roth (2019-05-01 20:48:05) > mick crane wrote: > > I've got a bunch of jpgs from the camera where the bits I want are a bit > > underexposed. What I'd like is a GUI that will batch process them. > ... > > Any suggestions for available GUI that will batch process jpgs ? > > Hi Mick, > > I would suggest using the command line utility 'convert' > that belongs to imagemagick. That's sort-of what Mick knew already and sought alternatives for (see the part of Mick's message that you snipped): Graphics::Magick is a security-enhanced fork of ImageMagick: http://www.graphicsmagick.org/ :-) - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
[toc] | [prev] | [next] | [standalone]
| From | Siard <shiems146@kpnplanet.nl> |
|---|---|
| Date | 2019-05-01 22:20 +0200 |
| Message-ID | <xT3RT-Fb-5@gated-at.bofh.it> |
| In reply to | #208015 |
mick crane wrote: > I've got a bunch of jpgs from the camera where the bits I want are a bit > underexposed. What I'd like is a GUI that will batch process them. > [....] > Any suggestions for available GUI that will batch process jpgs ? First, you could install gimp-plugin-registry. It adds, among others, DBP a.k.a. 'David's Batch processor' to Gimp. Then in Gimp, under Filters > Batch > Batch Process... > tab 'Colour', you can either check 'Auto Levels' or adjust brightness, contrast and saturation manually. Second, you could try aaphoto. It is a command-line program, but very simple. It tries to make the picture look better by setting the optimal contrast, gamma, color balance and saturation for it.
[toc] | [prev] | [next] | [standalone]
| From | mick crane <mick.crane@gmail.com> |
|---|---|
| Date | 2019-05-02 09:40 +0200 |
| Message-ID | <xTetX-7aq-9@gated-at.bofh.it> |
| In reply to | #208019 |
On 2019-05-01 21:17, Siard wrote: > mick crane wrote: >> I've got a bunch of jpgs from the camera where the bits I want are a >> bit >> underexposed. What I'd like is a GUI that will batch process them. >> [....] >> Any suggestions for available GUI that will batch process jpgs ? > > First, you could install gimp-plugin-registry. It adds, among others, > DBP > a.k.a. 'David's Batch processor' to Gimp. Then in Gimp, under Filters > > Batch > Batch Process... > tab 'Colour', you can either check 'Auto > Levels' > or adjust brightness, contrast and saturation manually. > > Second, you could try aaphoto. It is a command-line program, but very > simple. It tries to make the picture look better by setting the optimal > contrast, gamma, color balance and saturation for it. thanks for these mick -- Key ID 4BFEBB31
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web