Sun Apr 21 23:39:20 2024
EVENTS
 FREE
SOFTWARE
INSTITUTE

POLITICS
JOBS
MEMBERS'
CORNER

MAILING
LIST

NYLXS Mailing Lists and Archives
NYLXS Members have a lot to say and share but we don't keep many secrets. Join the Hangout Mailing List and say your peice.

DATE 2021-06-01

HANGOUT

2024-04-21 | 2024-03-21 | 2024-02-21 | 2024-01-21 | 2023-12-21 | 2023-11-21 | 2023-10-21 | 2023-09-21 | 2023-08-21 | 2023-07-21 | 2023-06-21 | 2023-05-21 | 2023-04-21 | 2023-03-21 | 2023-02-21 | 2023-01-21 | 2022-12-21 | 2022-11-21 | 2022-10-21 | 2022-09-21 | 2022-08-21 | 2022-07-21 | 2022-06-21 | 2022-05-21 | 2022-04-21 | 2022-03-21 | 2022-02-21 | 2022-01-21 | 2021-12-21 | 2021-11-21 | 2021-10-21 | 2021-09-21 | 2021-08-21 | 2021-07-21 | 2021-06-21 | 2021-05-21 | 2021-04-21 | 2021-03-21 | 2021-02-21 | 2021-01-21 | 2020-12-21 | 2020-11-21 | 2020-10-21 | 2020-09-21 | 2020-08-21 | 2020-07-21 | 2020-06-21 | 2020-05-21 | 2020-04-21 | 2020-03-21 | 2020-02-21 | 2020-01-21 | 2019-12-21 | 2019-11-21 | 2019-10-21 | 2019-09-21 | 2019-08-21 | 2019-07-21 | 2019-06-21 | 2019-05-21 | 2019-04-21 | 2019-03-21 | 2019-02-21 | 2019-01-21 | 2018-12-21 | 2018-11-21 | 2018-10-21 | 2018-09-21 | 2018-08-21 | 2018-07-21 | 2018-06-21 | 2018-05-21 | 2018-04-21 | 2018-03-21 | 2018-02-21 | 2018-01-21 | 2017-12-21 | 2017-11-21 | 2017-10-21 | 2017-09-21 | 2017-08-21 | 2017-07-21 | 2017-06-21 | 2017-05-21 | 2017-04-21 | 2017-03-21 | 2017-02-21 | 2017-01-21 | 2016-12-21 | 2016-11-21 | 2016-10-21 | 2016-09-21 | 2016-08-21 | 2016-07-21 | 2016-06-21 | 2016-05-21 | 2016-04-21 | 2016-03-21 | 2016-02-21 | 2016-01-21 | 2015-12-21 | 2015-11-21 | 2015-10-21 | 2015-09-21 | 2015-08-21 | 2015-07-21 | 2015-06-21 | 2015-05-21 | 2015-04-21 | 2015-03-21 | 2015-02-21 | 2015-01-21 | 2014-12-21 | 2014-11-21 | 2014-10-21 | 2014-09-21 | 2014-08-21 | 2014-07-21 | 2014-06-21 | 2014-05-21 | 2014-04-21 | 2014-03-21 | 2014-02-21 | 2014-01-21 | 2013-12-21 | 2013-11-21 | 2013-10-21 | 2013-09-21 | 2013-08-21 | 2013-07-21 | 2013-06-21 | 2013-05-21 | 2013-04-21 | 2013-03-21 | 2013-02-21 | 2013-01-21 | 2012-12-21 | 2012-11-21 | 2012-10-21 | 2012-09-21 | 2012-08-21 | 2012-07-21 | 2012-06-21 | 2012-05-21 | 2012-04-21 | 2012-03-21 | 2012-02-21 | 2012-01-21 | 2011-12-21 | 2011-11-21 | 2011-10-21 | 2011-09-21 | 2011-08-21 | 2011-07-21 | 2011-06-21 | 2011-05-21 | 2011-04-21 | 2011-03-21 | 2011-02-21 | 2011-01-21 | 2010-12-21 | 2010-11-21 | 2010-10-21 | 2010-09-21 | 2010-08-21 | 2010-07-21 | 2010-06-21 | 2010-05-21 | 2010-04-21 | 2010-03-21 | 2010-02-21 | 2010-01-21 | 2009-12-21 | 2009-11-21 | 2009-10-21 | 2009-09-21 | 2009-08-21 | 2009-07-21 | 2009-06-21 | 2009-05-21 | 2009-04-21 | 2009-03-21 | 2009-02-21 | 2009-01-21 | 2008-12-21 | 2008-11-21 | 2008-10-21 | 2008-09-21 | 2008-08-21 | 2008-07-21 | 2008-06-21 | 2008-05-21 | 2008-04-21 | 2008-03-21 | 2008-02-21 | 2008-01-21 | 2007-12-21 | 2007-11-21 | 2007-10-21 | 2007-09-21 | 2007-08-21 | 2007-07-21 | 2007-06-21 | 2007-05-21 | 2007-04-21 | 2007-03-21 | 2007-02-21 | 2007-01-21 | 2006-12-21 | 2006-11-21 | 2006-10-21 | 2006-09-21 | 2006-08-21 | 2006-07-21 | 2006-06-21 | 2006-05-21 | 2006-04-21 | 2006-03-21 | 2006-02-21 | 2006-01-21 | 2005-12-21 | 2005-11-21 | 2005-10-21 | 2005-09-21 | 2005-08-21 | 2005-07-21 | 2005-06-21 | 2005-05-21 | 2005-04-21 | 2005-03-21 | 2005-02-21 | 2005-01-21 | 2004-12-21 | 2004-11-21 | 2004-10-21 | 2004-09-21 | 2004-08-21 | 2004-07-21 | 2004-06-21 | 2004-05-21 | 2004-04-21 | 2004-03-21 | 2004-02-21 | 2004-01-21 | 2003-12-21 | 2003-11-21 | 2003-10-21 | 2003-09-21 | 2003-08-21 | 2003-07-21 | 2003-06-21 | 2003-05-21 | 2003-04-21 | 2003-03-21 | 2003-02-21 | 2003-01-21 | 2002-12-21 | 2002-11-21 | 2002-10-21 | 2002-09-21 | 2002-08-21 | 2002-07-21 | 2002-06-21 | 2002-05-21 | 2002-04-21 | 2002-03-21 | 2002-02-21 | 2002-01-21 | 2001-12-21 | 2001-11-21 | 2001-10-21 | 2001-09-21 | 2001-08-21 | 2001-07-21 | 2001-06-21 | 2001-05-21 | 2001-04-21 | 2001-03-21 | 2001-02-21 | 2001-01-21 | 2000-12-21 | 2000-11-21 | 2000-10-21 | 2000-09-21 | 2000-08-21 | 2000-07-21 | 2000-06-21 | 2000-05-21 | 2000-04-21 | 2000-03-21 | 2000-02-21 | 2000-01-21 | 1999-12-21

Key: Value:

Key: Value:

MESSAGE
DATE 2021-06-09
FROM Kevin Cozens
SUBJECT Re: [Hangout - NYLXS] [Gimp-user] Script-fu in GIMP - and batch
On 2021-06-09 11:22 a.m., ludo0565-at-dbmail.com wrote:
> (let* ((filename (car filelist))
> (filenamenew (string-append (car filelist) "-new")) ; as well as (filenamenew (string-append filename "-new"))
> (image (car (gimp-file-load RUN-NONINTERACTIVE filename filename)))
> (drawable (car (gimp-image-get-active-layer image))))
> (plug-in-unsharp-mask RUN-NONINTERACTIVE image drawable radius amount threshold)
> (gimp-file-save RUN-NONINTERACTIVE image drawable filenamenew filenamenew)
[snip]
> calling the programme with this command:
>
> gimp -i -b '(batch-unsharp-mask "*.JPG" 5.0 0.5 0)' -b '(gimp-quit 0)'
>
> Unfortunately I did not have the expected success, as I got this result:
>
> batch command experienced an execution error: Error: Procedure execution of gimp-file-save failed: unknown file type

If the first entry in the list is "somefile.JPG" what you have above will
attempt to save out a new version with the name "somefile.JPG-new".

What you need to do is get the root filename "somefile" and append
"-new.JPG" to create the new filename of "somefile-new.JPG".

The simplest way to handle the situation is to read the files from one
directory and save the modified version to another. The not so easy method
is to split the string on the . in the filename in to "simefile" and ".JPG"
so you can create a string with the new name for the modified file.

--
Cheers!

Kevin.

http://www.ve3syb.ca/ | "Nerds make the shiny things that
https://www.patreon.com/KevinCozens | distract the mouth-breathers, and
| that's why we're powerful"
Owner of Elecraft K2 #2172 |
#include | --Chris Hardwick
_______________________________________________
gimp-user-list mailing list
List address: gimp-user-list-at-gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives: https://mail.gnome.org/archives/gimp-user-list
_______________________________________________
Hangout mailing list
Hangout-at-nylxs.com
http://lists.mrbrklyn.com/mailman/listinfo/hangout

  1. 2021-06-01 From: "Free Software Foundation" <info-at-fsf.org> Subject: [Hangout - NYLXS] Free Software Supporter Issue 158, June 2021
  2. 2021-06-03 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] MTA Hacked...
  3. 2021-06-07 Gabor Szabo <gabor-at-szabgab.com> Subject: [Hangout - NYLXS] [Perlweekly] #515 - Events and blog posts
  4. 2021-06-10 Yusif Suleiman <yusifsuleiman-at-hotmail.com> Re: [Hangout - NYLXS] [Health] IFMSA Bangladesh joins GNU Health
  5. 2021-06-09 Armand MPASSY-NZOUMBA via Health <health-at-gnu.org> Re: [Hangout - NYLXS] [Health] IFMSA Bangladesh joins GNU Health
  6. 2021-06-09 Luis Falcon <falcon-at-gnuhealth.org> Re: [Hangout - NYLXS] [Health] IFMSA Bangladesh joins GNU Health
  7. 2021-06-09 Luis Falcon <falcon-at-gnuhealth.org> Re: [Hangout - NYLXS] [Health] IFMSA Bangladesh joins GNU Health
  8. 2021-06-09 abdrahman elkafil <elkafil-at-gmail.com> Re: [Hangout - NYLXS] [Health] IFMSA Bangladesh joins GNU Health
  9. 2021-06-09 Uli Klinkhammer <uk-at-kontent.com> Re: [Hangout - NYLXS] [Health] IFMSA Bangladesh joins GNU Health
  10. 2021-06-09 Kevin Cozens <kevin-at-ve3syb.ca> Re: [Hangout - NYLXS] [Gimp-user] Script-fu in GIMP - and batch
  11. 2021-06-09 From: "ludo0565-at-dbmail.com" <ludo0565-at-dbmail.com> Re: [Hangout - NYLXS] [Gimp-user] Script-fu in GIMP - and batch
  12. 2021-06-10 Yusif Suleiman <yusifsuleiman-at-hotmail.com> Re: [Hangout - NYLXS] [Health] IFMSA Bangladesh joins GNU Health
  13. 2021-06-09 Luis Falcon <falcon-at-gnuhealth.org> Re: [Hangout - NYLXS] [Health] IFMSA Bangladesh joins GNU Health
  14. 2021-06-09 Luis Falcon <falcon-at-gnuhealth.org> Re: [Hangout - NYLXS] [Health] IFMSA Bangladesh joins GNU Health
  15. 2021-06-09 abdrahman elkafil <elkafil-at-gmail.com> Re: [Hangout - NYLXS] [Health] IFMSA Bangladesh joins GNU Health
  16. 2021-06-09 Uli Klinkhammer <uk-at-kontent.com> Re: [Hangout - NYLXS] [Health] IFMSA Bangladesh joins GNU Health
  17. 2021-06-14 Gabor Szabo <gabor-at-szabgab.com> Subject: [Hangout - NYLXS] [Perlweekly] #516 - Conference in the Cloud
  18. 2021-06-14 Gabor Szabo <gabor-at-szabgab.com> Subject: [Hangout - NYLXS] [Perlweekly] #516 - Conference in the Cloud
  19. 2021-06-14 Nafspa via gimp-user-list <gimp-user-list-at-gnome.org> Subject: [Hangout - NYLXS] =?utf-8?q?=5BGimp-user=5D_How_to_tell_if_OpenC?=
  20. 2021-06-10 Zack Hess via gimp-user-list <gimp-user-list-at-gnome.org> Subject: [Hangout - NYLXS] [Gimp-user] can I use gimp for my project?
  21. 2021-06-05 Marco Ciampa via gimp-user-list <gimp-user-list-at-gnome.org> Re: [Hangout - NYLXS] [Gimp-user] Recurring mouse problem in GIMP
  22. 2021-06-12 Michael Schumacher via gimp-user-list <gimp-user-list-at-gnome.org> Re: [Hangout - NYLXS] [Gimp-user] can I use gimp for my project?
  23. 2021-06-05 From: "Rick Strong" <rnstrong-at-primus.ca> Re: [Hangout - NYLXS] [Gimp-user] Recurring mouse problem in GIMP
  24. 2021-06-05 From: "Rick Strong" <rnstrong-at-primus.ca> Re: [Hangout - NYLXS] [Gimp-user] Recurring mouse problem in GIMP
  25. 2021-06-05 Techno <techno6-at-glib.com> Subject: [Hangout - NYLXS] [Gimp-user] Recurring mouse problem in GIMP 2.8.22
  26. 2021-06-15 Dana Peleg <Dana-at-mindu.co.il> Subject: [Hangout - NYLXS] =?cp1255?b?7vn4+iD69/nl+PotIOT28vog8uHl4+Qg?=
  27. 2021-06-15 From: "Free Software Foundation" <info-at-fsf.org> Subject: [Hangout - NYLXS] Listen to LibrePlanet 2021 audio in your podcast
  28. 2021-06-16 Axel Braun <axel.braun-at-gmx.de> Re: [Hangout - NYLXS] [Health] next meeting: Wednesday,
  29. 2021-06-16 Axel Braun <axel.braun-at-gmx.de> Re: [Hangout - NYLXS] [Health] next meeting: Wednesday,
  30. 2021-06-17 Alain Knaff <alain-at-knaff.lu> Subject: [Hangout - NYLXS] GNU mtools 4.0.30 released
  31. 2021-06-17 James E Keenan <jkeenan-at-pobox.com> Subject: [Hangout - NYLXS] Resuming ny.pm social meetings
  32. 2021-06-19 Alain Knaff <alain-at-knaff.lu> Subject: [Hangout - NYLXS] GNU mtools 4.0.31 released
  33. 2021-06-21 Gabor Szabo <gabor-at-szabgab.com> Subject: [Hangout - NYLXS] [Perlweekly] #517 - Commitment and habit
  34. 2021-06-21 Edgar_ <edgar-at-hagenbichler.at> Re: [Hangout - NYLXS] [Health] gnu-health installation
  35. 2021-06-27 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] new york, ny - they named it twice
  36. 2021-06-27 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] clearview
  37. 2021-06-28 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] This fellow says he suffered from Covid-19 but
  38. 2021-06-28 Alexandre Oliva <oliva-at-gnu.org> Subject: [Hangout - NYLXS] GNU Linux-libre 5.13-gnu
  39. 2021-06-28 Gabor Szabo <gabor-at-szabgab.com> Subject: [Hangout - NYLXS] [Perlweekly] #518 - Becoming book author?
  40. 2021-06-29 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] we are so screwed
  41. 2021-06-28 Osvaldo Alonso <dndsvx-at-outlook.es> Re: [Hangout - NYLXS]
  42. 2021-06-30 Luis Falcon <falcon-at-gnuhealth.org> Subject: [Hangout - NYLXS] [Health] MyGNUHealth 1.0 ready to download
  43. 2021-06-30 Luis Falcon <falcon-at-gnuhealth.org> Re: [Hangout - NYLXS] [Health] [Health-dev] import with GNU Health
  44. 2021-06-28 Osvaldo Alonso <dndsvx-at-outlook.es> Re: [Hangout - NYLXS]
  45. 2021-06-29 Luis Falcon <falcon-at-gnuhealth.org> Re: [Hangout - NYLXS] [Health] [Health-dev] import with GNU Health
  46. 2021-06-29 Edgar_ <edgar-at-hagenbichler.at> Re: [Hangout - NYLXS] [Health] [Health-dev] import with GNU Health
  47. 2021-06-29 Edgar_ <edgar-at-hagenbichler.at> Subject: [Hangout - NYLXS] [Health] import with GNU Health functionality
  48. 2021-06-30 Luis Falcon <falcon-at-gnuhealth.org> Re: [Hangout - NYLXS] [Health] MyGNUHealth 1.0 ready to download
  49. 2021-06-30 Axel Braun <axel.braun-at-gmx.de> Re: [Hangout - NYLXS] [Health] MyGNUHealth 1.0 ready to download
  50. 2021-06-30 Luis Falcon <falcon-at-gnuhealth.org> Re: [Hangout - NYLXS] [Health] MyGNUHealth 1.0 ready to download
  51. 2021-06-30 Axel Braun <axel.braun-at-gmx.de> Re: [Hangout - NYLXS] [Health] MyGNUHealth 1.0 ready to download
  52. 2021-06-30 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Hangout - NYLXS] Facebook Antitrust
  53. 2021-06-26 Klaus Goelker via gimp-user-list <gimp-user-list-at-gnome.org> Re: [Hangout - NYLXS] [Gimp-user] gimp-user-list Digest, Vol 117,
  54. 2021-06-14 From: "S. via gimp-user-list" <gimp-user-list-at-gnome.org> Re: [Hangout - NYLXS] [Gimp-user] Recurring mouse problem in GIMP
  55. 2021-06-18 Alexandre Prokoudine via gimp-user-list <gimp-user-list-at-gnome.org> Re: [Hangout - NYLXS] [Gimp-user] GIMP licensing
  56. 2021-06-18 Liam R E Quin <liam-at-holoweb.net> Re: [Hangout - NYLXS] [Gimp-user] GIMP licensing
  57. 2021-06-18 Eduard Mironenko via gimp-user-list <gimp-user-list-at-gnome.org> Subject: [Hangout - NYLXS] [Gimp-user] GIMP licensing
  58. 2021-06-14 Nafspa via gimp-user-list <gimp-user-list-at-gnome.org> Subject: [Hangout - NYLXS] =?utf-8?q?=5BGimp-user=5D_How_to_tell_if_OpenC?=
  59. 2021-06-24 Stephen Lafleur via gimp-user-list <gimp-user-list-at-gnome.org> Subject: [Hangout - NYLXS] [Gimp-user] Extend period of
  60. 2021-06-10 Zack Hess via gimp-user-list <gimp-user-list-at-gnome.org> Subject: [Hangout - NYLXS] [Gimp-user] can I use gimp for my project?
  61. 2021-06-05 Marco Ciampa via gimp-user-list <gimp-user-list-at-gnome.org> Re: [Hangout - NYLXS] [Gimp-user] Recurring mouse problem in GIMP
  62. 2021-06-12 Michael Schumacher via gimp-user-list <gimp-user-list-at-gnome.org> Re: [Hangout - NYLXS] [Gimp-user] can I use gimp for my project?
  63. 2021-06-05 From: "Rick Strong" <rnstrong-at-primus.ca> Re: [Hangout - NYLXS] [Gimp-user] Recurring mouse problem in GIMP
  64. 2021-06-05 From: "Rick Strong" <rnstrong-at-primus.ca> Re: [Hangout - NYLXS] [Gimp-user] Recurring mouse problem in GIMP
  65. 2021-06-05 Techno <techno6-at-glib.com> Subject: [Hangout - NYLXS] [Gimp-user] Recurring mouse problem in GIMP 2.8.22
  66. 2021-06-17 Jacob Salomon <jakesalomon-at-yahoo.com> Re: [Hangout - NYLXS] Resuming ny.pm social meetings

NYLXS are Do'ers and the first step of Doing is Joining! Join NYLXS and make a difference in your community today!