It is currently Wed Apr 24, 2024 4:26 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Batch Processing Question
PostPosted: Mon Jun 29, 2015 12:06 am  (#1) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
I recently found a bunch of PNG (Portable Network Graphics) images, about 468 of them to be exact. These image were posted on deviantart as gradients for use with the program Mandelbulber.
Image

I would like to know if I could use the bimp plugin to batch process these images, by using the Gradient from image plugin. To turn these images into Gimp gradients.

Here are 2 such images that are part of the 468 images. All are more or less about the same size.
Attachment:
226.png
226.png [ 656 Bytes | Viewed 3503 times ]

Attachment:
225.png
225.png [ 693 Bytes | Viewed 3503 times ]


Any ideas on how I can go about making all these images into Gimp gradients. Without having to open them all individually?

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Batch Processing Question
PostPosted: Mon Jun 29, 2015 1:37 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
You can do it with G'MIC (the command line tool).
Using bash, you can type :

$ for i in *.png; do base=`basename $i .png`; gmic $i -rows 50% -output_ggr $base.ggr,$base -q; done


And it will create as many .ggr files than you have .png files.
Tell me if you want me to do this for you.


Top
 Post subject: Re: Batch Processing Question
PostPosted: Mon Jun 29, 2015 1:56 am  (#3) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
Ronounours wrote:
You can do it with G'MIC (the command line tool).
Using bash, you can type :

$ for i in *.png; do base=`basename $i .png`; gmic $i -rows 50% -output_ggr $base.ggr,$base -q; done


And it will create as many .ggr files than you have .png files.
Tell me if you want me to do this for you.

If you would do this for me, that would be really great.

Here is all 468 PNG image...
Attachment:
468 Mandelbulber Gradients.zip [1.35 MiB]
Downloaded 227 times

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Batch Processing Question
PostPosted: Mon Jun 29, 2015 2:22 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Here they are.


Attachments:
mandelbulb_gradients.zip [1.6 MiB]
Downloaded 460 times
Top
 Post subject: Re: Batch Processing Question
PostPosted: Mon Jun 29, 2015 2:43 am  (#5) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
Ronounours wrote:
Here they are.

"Get out of town!" Image
That's fabulous of you to do this.Image

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Batch Processing Question
PostPosted: Mon Jun 29, 2015 2:47 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
You're welcome. It took only a few seconds to convert.
Just a remark though : the images are converted 'colors by colors', so each gradient has at the end as many colored keypoints as in the original color image,
which means those gradients are quite hard to edit. But if this doesn't matter too much, then everything is fine :)


Top
 Post subject: Re: Batch Processing Question
PostPosted: Mon Jun 29, 2015 3:02 am  (#7) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
Ronounours wrote:
You're welcome. It took only a few seconds to convert.
Just a remark though : the images are converted 'colors by colors', so each gradient has at the end as many colored keypoints as in the original color image,
which means those gradients are quite hard to edit. But if this doesn't matter too much, then everything is fine :)

I see what you mean.
Image
That's okay with me.
Again, thank you so much. :jumpclap

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Batch Create Layers

2

No new posts Attachment(s) converting 32 bit images to 8 bit using batch script

5

No new posts ofnut colormap-to-layer plugin + BATCH

0

No new posts Attachment(s) Problem with David's Batch Processor plugin

22

No new posts Attachment(s) Seeking Help with First Multi-File Batch Script

9



* Login  



Powered by phpBB3 © phpBB Group