It is currently 15 Dec 2017, 04:12

GIMP Python Fu ScriptsAscii to Pixels Script for GIMP (Showcase | Slideshow)

Share your Python Fu scripts for GIMP here
User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 9/11
Posts: 2000
Joined: 25 Sep 2016, 17:16
Cash on hand: 6,288.73 GLP
Bank: 41,331.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1004
x 217
Contact:
Canada

Ascii to Pixels Script for GIMP

Post#1 by tim » 05 Jun 2017, 09:28


This script is experimental.
It is intended for hiding ascii messages inside a pixelized data.
You enter a string of text, it converts it pixel color values and updates your active layer to hold those pixels (from left to right, top to bottom repeating the values until the layer is filled with that data).
:download:
asckey_to_pixels.zip #
zipped .py file (unzip, put in your GIMP's /plug-ins/ folder)
(1.23 KiB) Downloaded 10 times


:download:
asckey_to_pixels (2).zip #
version 2. Makes a selection that selects first repetition of pixels at end of script.
(1.28 KiB) Downloaded 19 times
Script Menu Location: Python-Fu/Asckey to Pixels...

Script Options:
asckey_to_pixels_options.png
asckey_to_pixels_options.png # (34.19 KiB) Viewed 291 times (Watermarked | Thumbnail)
Sample run (it takes a long time on large images so hide your messages in small resolution like 100x60 and then scale image up using None as Interpolation to get large pixels).
NamMoADiDaPhat_to_pixels.jpg
NamMoADiDaPhat_to_pixels.jpg # (41.43 KiB) Viewed 291 times (Watermarked | Thumbnail)
0 x



aka Tin
Image gimplearn.net                                              

Registered members enjoy ads-free content
User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 9/11
Posts: 2000
Joined: 25 Sep 2016, 17:16
Cash on hand: 6,288.73 GLP
Bank: 41,331.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1004
x 217
Contact:
Canada

Post#2 by tim » 05 Jun 2017, 09:28


Maybe future artificial intelligence can understand this data.
1 x



aka Tin
Image gimplearn.net                                              

User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 9/11
Posts: 2000
Joined: 25 Sep 2016, 17:16
Cash on hand: 6,288.73 GLP
Bank: 41,331.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1004
x 217
Contact:
Canada

Post#3 by tim » 05 Jun 2017, 09:49


"GIMP LEARN" to pixels, this is the pattern when it's width is 100 pixels
GIMP_LEARN_to_pixels.jpg
GIMP_LEARN_to_pixels.jpg # (25.15 KiB) Viewed 288 times (Watermarked | Thumbnail)
0 x



aka Tin
Image gimplearn.net                                              

User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 9/11
Posts: 2000
Joined: 25 Sep 2016, 17:16
Cash on hand: 6,288.73 GLP
Bank: 41,331.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1004
x 217
Contact:
Canada

Post#4 by tim » 05 Jun 2017, 10:08


You can play around with these to make designs of your secret messages in pixel art.
Like this one.
secret_chant.png
secret_chant.png # (12.93 KiB) Viewed 286 times (Watermarked | Thumbnail)
0 x



aka Tin
Image gimplearn.net                                              

User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 9/11
Posts: 2000
Joined: 25 Sep 2016, 17:16
Cash on hand: 6,288.73 GLP
Bank: 41,331.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1004
x 217
Contact:
Canada

Post#5 by tim » 05 Jun 2017, 10:14


This one says "World Peace" in grey-scale and in color.
World_Peace_Asckey_to_pixels.jpg
World_Peace_Asckey_to_pixels.jpg # (4.51 KiB) Viewed 283 times (Watermarked | Thumbnail)
0 x



aka Tin
Image gimplearn.net                                              

User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 9/11
Posts: 2000
Joined: 25 Sep 2016, 17:16
Cash on hand: 6,288.73 GLP
Bank: 41,331.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1004
x 217
Contact:
Canada

Post#6 by tim » 05 Jun 2017, 10:53


This says "Love" in gray-scale and RGB
Love.png
Love.png # (13 KiB) Viewed 281 times (Watermarked | Thumbnail)
0 x



aka Tin
Image gimplearn.net                                              

User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 9/11
Posts: 2000
Joined: 25 Sep 2016, 17:16
Cash on hand: 6,288.73 GLP
Bank: 41,331.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1004
x 217
Contact:
Canada

Post#7 by tim » 05 Jun 2017, 12:10


"Love" ascii to pixel art on a tote bag?
love_ascii_to_pixel_art.png
love_ascii_to_pixel_art.png # (96.07 KiB) Viewed 275 times (Watermarked | Thumbnail)
0 x



aka Tin
Image gimplearn.net                                              

Post Reply

Last 20 Members Who Visited This Topic

User avatar Issabella (2), User avatar gnerd (3)

  • Similar Topics
    Replies
    Views
    Last post
• Featuring Members' Works (Image Attachments Only) •
1: tim
2: Issabella
3: Issabella
4: animicule
5: oldmangrumpy
6: tim
7: RJKD

Who is online

Users browsing this forum: No registered users and 1 guest