August Meeting

21 views
Skip to first unread message

Paul Boniol

unread,
Aug 7, 2021, 1:21:27 AM8/7/21
to NLUG
The Zoom link has been created for the August meeting, Tuesday the 10th at 6:30 pm.  The link will be posted to MeetUp shortly before the start time.

If anyone has a meeting topic, problem, etc. you'd like discussed now or in the future, please send it to the list.

Paul

Paul Boniol

unread,
Aug 9, 2021, 3:11:41 PM8/9/21
to NLUG
If nobody else has a suggestion, my latest thing I'm trying to figure out:

I've been manually editing them with GIMP since it was just a few, but over the years, the number of images is growing.

Given a list of jpeg images, change their PPI (DPI) setting because it is not correct (118/11820).

I've got a Perl program finding the incorrect PPI images, but looking for a way to auto-magically get it changed to 118/118.  (Perl or Linux program.)

Paul

JMJ

unread,
Aug 9, 2021, 5:02:12 PM8/9/21
to NLUG

--
--
You received this message because you are subscribed to the Google Groups "NLUG" group.
To post to this group, send email to nlug...@googlegroups.com
To unsubscribe from this group, send email to nlug-talk+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en

---
You received this message because you are subscribed to the Google Groups "NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nlug-talk+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nlug-talk/CAL9PgS3WsLws1ezF3DOe-NL6ty9QH%3DJ4DioC8_2NKmaNN6oYvg%40mail.gmail.com.

Tilghman Lesher

unread,
Aug 10, 2021, 10:05:18 AM8/10/21
to NLUG
It's been years since I've messed with it, but what you're looking for
is Script-Fu:

https://docs.gimp.org/en/gimp-concepts-script-fu.html

Basically, you can take any action, any plugin, whatever you want to
automate, and mirror the entire process using Script-Fu by using the
Gimp server. There's even a Perl Module for interfacing with
Script-Fu, if you don't want to mess with Scheme, the native language
of Script-Fu.

On Mon, Aug 9, 2021 at 2:11 PM Paul Boniol <paul....@gmail.com> wrote:
>
> --
> --
> You received this message because you are subscribed to the Google Groups "NLUG" group.
> To post to this group, send email to nlug...@googlegroups.com
> To unsubscribe from this group, send email to nlug-talk+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to nlug-talk+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/nlug-talk/CAL9PgS3WsLws1ezF3DOe-NL6ty9QH%3DJ4DioC8_2NKmaNN6oYvg%40mail.gmail.com.



--
Tilghman

Paul Boniol

unread,
Aug 11, 2021, 1:50:18 AM8/11/21
to NLUG
Thanks JMJ and Tilghman! Imagemagick sounds easier, but I have been curious about learning how to use Gimp's Script-Fu for quite a while. Maybe it's time to dig in.

Paul

Tilghman Lesher

unread,
Aug 11, 2021, 9:57:10 AM8/11/21
to NLUG
What started my Gimp server was:

export DISPLAY=localhost:0
nohup gimp --no-interface --batch '(extension-perl-server 1 0 0)' &

Example script (and library) attached. These are from 2001, so
significant bitrot may have occurred. I can't guarantee these will
still work, but they should be sufficient to get you onto a path of
writing the scripts that you want.

It's also amazing to think that I've been writing Perl, now, for over
half of my life!
> To view this discussion on the web visit https://groups.google.com/d/msgid/nlug-talk/CAL9PgS2DtAOG89%2BoRAsd_EOgknZqiwcw-FydXQNEz_Nk%2B-OqHg%40mail.gmail.com.



--
Tilghman
resize_by_width
GimpPimp.pm
Reply all
Reply to author
Forward
0 new messages