imageDataToDataUri3 in php

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 1
Joined: Wed Nov 18, 2020 9:41 pm

Wed Nov 18, 2020 9:51 pm

Hey guys,

So, many have probably heard of Readly. It's also my next target to hoard, after already having done a few others like them. However, I'm stuck on their image encoding.

The images they use are webp and jpg, depending on which browser and version you're using. However, they are encoded or encrypted, and I just cannot figure out how to decode them.

I'm fairly certain they are encrypted, as the are tokens in the API which give a possible decryption password. Looking at the raw files however, I'm not able to find anything or come up with any way to try and decode them. Perhaps someone here does.

I know somewhere in their javascript (, they are decoding it. The image is then put into a HTML canvas element. Using firefox browser, you can actually see it first downloads the encoded file, and then will put a blob into memory, which is the actual decoded file, and they are collecting the file by an XMLHttpRequest with responseType arraybuffer.

Who can help?
Snap5.png (186.83 KiB) Viewed 321 times
Snap6.png (197.93 KiB) Viewed 321 times
Snap4.png (184.69 KiB) Viewed 321 times
Post Reply