It is currently 05 Dec 2021, 08:33

• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP
Sponsored content for World Food Program

Ascii to Pixels Script for GIMP

Share your Python Fu Scripts/plug-ins for GIMP here
tim
GL Blogger
1st Place
5633 Post(s)

Ascii to Pixels Script for GIMP

Post#1 by tim » 05 Jun 2017, 16: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).
asckey_to_pixels.zip #
zipped .py file (unzip, put in your GIMP's /plug-ins/ folder)
(1.23 KiB) Downloaded 127 times
asckey_to_pixels (2).zip #
version 2. Makes a selection that selects first repetition of pixels at end of script.
(1.28 KiB) Downloaded 149 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 3930 times (Thumbnail | Recognize | Sq Tile | LNFI)
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 # (33.14 KiB) Viewed 3930 times (Thumbnail | Recognize | Sq Tile | LNFI)
aka Tin
World Food Program | Good Deeds Forum

         

tim
GL Blogger
1st Place
5633 Post(s)

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


Maybe future artificial intelligence can understand this data.
aka Tin
World Food Program | Good Deeds Forum

         

tim
GL Blogger
1st Place
5633 Post(s)

Post#3 by tim » 05 Jun 2017, 16: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 3927 times (Thumbnail | Recognize | Sq Tile | LNFI)
aka Tin
World Food Program | Good Deeds Forum

         

tim
GL Blogger
1st Place
5633 Post(s)

Post#4 by tim » 05 Jun 2017, 17: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 3925 times (Thumbnail | Recognize | Sq Tile | LNFI)
aka Tin
World Food Program | Good Deeds Forum

         

tim
GL Blogger
1st Place
5633 Post(s)

Post#5 by tim » 05 Jun 2017, 17: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 3922 times (Thumbnail | Recognize | Sq Tile | LNFI)
aka Tin
World Food Program | Good Deeds Forum

         

tim
GL Blogger
1st Place
5633 Post(s)

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


This says "Love" in gray-scale and RGB
Love.png
Love.png # (13 KiB) Viewed 3920 times (Thumbnail | Recognize | Sq Tile | LNFI)
aka Tin
World Food Program | Good Deeds Forum

         

tim
GL Blogger
1st Place
5633 Post(s)

Post#7 by tim » 05 Jun 2017, 19: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 3914 times (Thumbnail | Recognize | Sq Tile | LNFI)
aka Tin
World Food Program | Good Deeds Forum

         

Pat625
Tutorial Creator
2nd Place
4512 Post(s)

Post#8 by Pat625 » 05 Jun 2017, 20:19


How do you see what you wrote?

tim
GL Blogger
1st Place
5633 Post(s)

Post#9 by tim » 05 Jun 2017, 20:57


hehe, you don't. It's a secret message data is encoded in pixel.
aka Tin
World Food Program | Good Deeds Forum

         

Pat625
Tutorial Creator
2nd Place
4512 Post(s)

Post#10 by Pat625 » 06 Jun 2017, 00:11


How is the intended supposed to decode to get the "secret' message?


GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply New Topic
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 6 guests