It is currently Thu Mar 28, 2024 8:43 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 12:18 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Hello there,
Another day, another filter :)

I've added a new filter Arrays & tiles/Ascii art in the G'MIC plug-in for GIMP. This is a first version, so there are probably lot of amelioration to do, but this gives already interesting results. Note that you will probably need the latest version 1.5.8.5 of the plug-in to make it working flawlessly.
Anyway, if someone can test with an older version, please tell me how it behaves :)

The interesting thing is that you can choose the 'charset' used for the analysis, so you can customize your rendering a little bit.
Some examples follow. First, the filter as you can get it after a filter update (as always, press the 'Update filters' button) :

Attachment:
gmic_asciiart0.png
gmic_asciiart0.png [ 143.97 KiB | Viewed 10214 times ]


Then, an example of 'standard' rendering, with the usual ASCII charset. Note that the letters can be optionally colorized with colors from your input image
(done with the 'shape average' blending mode that Lyle uses a lot if I remember well :) ).

Attachment:
gmic_asciiart1.png
gmic_asciiart1.png [ 45.77 KiB | Viewed 10214 times ]


Now, if you choose a custom charset, you can render things like this, where the letters used for the rendering are actually the letters of the people names.

Attachment:
gmic_asciiart5.png
gmic_asciiart5.png [ 473.18 KiB | Viewed 10214 times ]


(the left image has been colorized, but not the right one).
Well that's it for now, let me know if you have some experiments or additional suggestions for this filter.

Cheers,

David.


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 plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 12:50 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14796
Location: roma, italy
very well done, thanks David!

_________________
"Where am I ?"


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 3:29 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
Wow, this is awesome. Thanks for all your hard work, appreciate it.

_________________
Image


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 4:20 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12513
Definitely cool David; is there a way to export the actually text file? :)


Attachments:
DSC00422crp_asc.png
DSC00422crp_asc.png [ 107.35 KiB | Viewed 10117 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 4:36 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12513
Finally figured out how to get a higher density (stupid I am I suppose). lol

:)

https://www.flickr.com/photos/34520999@N05/13434284203/sizes/o/

Image

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 4:58 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
To get a higher density, you can lower the 'analysis scale' parameter, but I would rather recommend simply to upscale your image before converting it to ascii art. Having a too low analysis scale will give you a result with less precision.

Having an export option for an ascii file is indeed an excellent idea, I'll add it tomorrow.


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 5:11 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12513
Thanks David; I did actually play with the analsysis scale then resized. Guess it would have been just as easy to resize the image, run the preset, then downsize back. lol

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 5:24 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Lyle, I've just added the 'Export as ascii file' option. You must set a valid path there to make it working, but this should be OK
(at least, it works on Linux :p ).
Let me know !


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 5:43 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12513
It works David. Thanks. Would also be cool to add a check box too so you can have a permanent path and then when you want to export the text, just click the box. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 5:52 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
Where does it export to? Can't seem to get the export to work. I'm probably doing something wrong.

_________________
Image


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 6:06 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
The Warrior wrote:
Where does it export to? Can't seem to get the export to work. I'm probably doing something wrong.


Ronounours wrote:
You must set a valid path there to make it working, but this should be OK
(at least, it works on Linux :p ).
Let me know !

Didn't see this. Got it. Works great on Windows too, thanks.

_________________
Image


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 6:22 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Something like this would be better ?

Attachment:
gmic_asciiart_new.png
gmic_asciiart_new.png [ 173.91 KiB | Viewed 2891 times ]


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 6:24 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
Ronounours wrote:
Something like this would be better ?

Attachment:
gmic_asciiart_new.png

That's Excellent!

_________________
Image


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 6:30 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
Very cool. Export as ascii works too. :bigthup

Image

Image

_________________
Image


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 6:46 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
I've just done some additional optimizations to make it a little bit faster (still slow anyway).
I think I'll stop for now, it's already 00:44am here, and I feel a bit tired :)


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 7:06 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12513
Your work's done now David. Get a good nights sleep now. lol

:)


Attachments:
thanks.7z [36.87 KiB]
Downloaded 127 times

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 7:08 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12513
I guess (well know) I no longer need ASCII-Gen. lol

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Wed Mar 26, 2014 11:50 pm  (#18) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
David and Lyle There's no 64bit file on SourceForge as yet I have it from Samj's site for those who would like it
gmic-1585-full-win-32bits-64bits

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Thu Mar 27, 2014 9:30 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Applying this filter on multiple layers is cool too ! :D

https://www.youtube.com/watch?v=11NJlqqOklc

www.youtube.com Video from : www.youtube.com


Top
 Post subject: Re: G'MIC plug-in : New filter 'Arrays & tiles / Ascii art'
PostPosted: Thu Mar 27, 2014 10:53 am  (#20) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Ronounours wrote:
Applying this filter on multiple layers is cool too ! :D
That is so cool. :bigthup

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Where to get the recommended photoshop filter plug ins; bot 32 bit and

21

No new posts Attachment(s) Small Tiles - Big Preview for Gimp-2.10.20

0

No new posts Attachment(s) Patterns - Glassy Islamic Tiles

4

No new posts Best recommendation for terminal art ("ascii art") from image?

4

No new posts Attachment(s) Don't work procedures plug-in-bump-map, plug-in-displace

2



* Login  



Powered by phpBB3 © phpBB Group