Can't make imaging.putPixels() to work

I agree man… I just solved the issue with saving the base64 with FS and loading it and place it in a new layer, the speed is decent and solves what I really need. I wonder the same about atob, I used atob externally and seems it gets the same amount of data as inside the UXP, so I don’t know what happens inside the atob function when converts the base64 into binary.