Viv3k_87
(Viv3k_87)
October 25, 2025, 5:13am
1
I created a Jpeg decoder in Lua. It takes the binary data of a Jpeg image, decompresses it into the original RGB values, and then returns them.
Showcase video:
JpegDecoder.rbxm (12.2 KB)
The image data is received through a HTTP request to the direct link associated with an online image. The image is then displayed by using parts as pixels.
13 Likes
this is very cool! but I do feel it would likely be used to show bypassed images and such
5 Likes
Of course it would. But no one cares about that.
1 Like
My god this is some insane stuff!! I wouldn’t even know how to format a png!!
Great stuff!! Really, it’s great.
1 Like
Add support for editable images, and its also wayy faster.
2 Likes
Viv3k_87
(Viv3k_87)
October 25, 2025, 12:53pm
6
Displaying the image is not part of the module. You may use editable images to display it yourself if you want.
Are you doing the decompression on the client or the server you’re connecting to? If your server just returns the decompressed RGB data, then this is really slow.
Can you give an example script of how to use and interact with the module?
Viv3k_87
(Viv3k_87)
October 25, 2025, 1:49pm
9
I don’t really connect to a server, just send a http request for the compressed data. All the decompression is done on the client by the module.
Viv3k_87
(Viv3k_87)
October 25, 2025, 1:52pm
10
This works for any direct link to a jpeg you can find online
Viv3k_87
(Viv3k_87)
October 25, 2025, 1:53pm
11
The read me should contain most of what you need to know. I briefly show the code I used to display the image in my video.
1 Like
Is it plain data, or is there any additional compression applied?
Viv3k_87
(Viv3k_87)
October 25, 2025, 1:58pm
13
The module returns plain data, the useful return values are shown in the read me.