It is currently Tue Aug 18, 2026 10:51 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: G'MIC command line . New filter "fitshape"
PostPosted: Tue Jun 11, 2013 4:12 pm  (#1) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

Here is the result of a small test (G'MIC 1.5.6.1 beta - O.S.=Win8-64bit) with the image of the clown.

The images of the test are in the archive .zip

Command lines :

gmic image0.png image1.png image2.png --fitshape

gmic image0.png image1.png image2.png -fitshape 5,20,10 -o test.jpg


Attachments:
test.jpg
test.jpg [ 1.01 MiB | Viewed 2038 times ]
test_fitshape.jpg
test_fitshape.jpg [ 497.69 KiB | Viewed 2038 times ]
images_test_fitshape.zip [1.11 MiB]
Downloaded 122 times
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: G'MIC command line . New filter "fitshape"
PostPosted: Tue Jun 11, 2013 4:35 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
I've some ideas to improve this command in the future, principally by allowing the preservation of the original alpha-channel of the shape. For now, the alpha-channel of the shape is 'binarized' and the rendered image is then always a RGB image, that may be a limitation for some effects in the future.
I must admit I like this command very much, and I see a lot of potential (artistic or not) for using it.


Top
 Post subject: Re: G'MIC command line . New filter "fitshape"
PostPosted: Wed Jun 12, 2013 5:13 am  (#3) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Me too, this is the new command I prefer, it offers many possibilities

*****

Here's another test with various patterns and masks.
The patterns are 1.png to 6.png, it may have other shapes and colors.
The masks are images a.png to f.png.
The images of the test are in the archive "images_test_iterations.zip".

The successive lines of commands are :

gmic fond.png 1.png a.png -fitshape 5,20,10 -o resultat.png
gmic resultat.png 2.png b.png -fitshape 5,20,10 -o resultat.png
gmic resultat.png 3.png c.png -fitshape 5,20,10 -o resultat.png
gmic resultat.png 4.png d.png -fitshape 5,20,10 -o resultat.png
gmic resultat.png 5.png e.png -fitshape 5,20,10 -o resultat.png
gmic resultat.png 6.png f.png -fitshape 5,20,10 -o resultat.png


Attachments:
images_test_iterations.zip [537.58 KiB]
Downloaded 117 times
resultat.png
resultat.png [ 145.56 KiB | Viewed 1945 times ]
iterations.png
iterations.png [ 121.63 KiB | Viewed 1945 times ]
Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group