Thanks to the various resources cyberix3d offers, I have been able to design
iMAGIC is a reader, editor and converter from binary to text and hexadecimal to image, which means that starting from a code it can collect and process information to convert it to either text or image.
PROYECT:
www.gamemaker3d.com/player?pid=054616160654
1) INTERFACE
binary reader:
It is a binary reader
Comversion result:
Displays the converted data from the binary reader.
Hex reader:
It is a hex reader
Viewfinder:
Get the given information from the hex reader to represent it in graphics
Render options:
- Render:
Start the conversion process
- Reset:
Erases the generated pixels
- Size:
Displays the supported image resolution
- Config:
Contains buttons which allow you to change the resolution of the image
2) HOW TO RENDER IMAGES?
Before rendering you must use this page
simakyr.github.io/pngToHexJS/ With it you will load your image to convert it to hexadecimal, before that the image must be rotated 90 degrees to the left as you will see below:
now we will load the image on the page and we will convert
once converted, we will copy the code automatically and finally we paste that data to the "hex reader",
as my image has a resolution of 200x200 we adjust the render options so that the "size" is at a resolution of 200x200.
All configured, we are going to rectify that there are no spaces at the beginning of the text in the input "hex reader", Finally we will render the image
Result:
a resolution of 100x100 down takes a maximum of 15 minutes, if you render more than 100x100 it will take much longer but this will be corrected in a next update.
the code of the same image that I use comes by default in the "hex reader" but at a resolution of 100x100
3) HOW TO COMVERT FROM BINARY TO TEXT?
At this time it is not possible to convert from text to binary so you must use this page
www.rapidtables.org/convert/number/ascii-to-binary.html there you will type the text you want to convert and the output delimiter string will change to "none" because there should be no spaces or there will be errors when converting.
Once finished, copy the code and paste it in the binary reader, remember that there should not be any space at the beginning of it.
here are some examples which you can use:
1. (Hello World)
0110100001100101011011000110110001101111001000000111011101101111011100100110110001100100
2. (welcome cyberix3d)
0111011101100101011011000110001101101111011011010110010100100000011000110111100101100010011001010111001001101001011110000011001101100100
3. (6+6= 12)
00110110001010110011011000111101001000000011000100110010
There is a small limitation, at the moment you cannot convert a binary to text that includes special characters but this is an alpha version and I still have many more functions to add, below I attach a list of what I have planned for future updates and I hope you liked this project
.
LIST OF UPCOMING FUNCTIONS
1 For binary to text converter:
/ convert text to binary with special characters
2 For Image Converter:
/Paint pot
/ Pixel selector
/ Filters
/ Remove watermark from images
/ Save by folders
/ Mix images
/ Reduce image pixels
/ Modify and encode code to hexadecimal
/ Photorealistic rendering: Based on the use of raycast and other operations, it could calculate the exact position of the objects that are in the scene in 3d to later be represented in the viewer
/I have found an algorithm that allows to reduce the rendering time, which eliminates the repeated pixels and converts them into one, I hope to include it soon