You should bear in mind that if you treat pictures as numbers, you are in fact limiting yourself to a certain set of numbers. RSA allows you to pick from a much larger range of numbers.
To put it into perspective, consider this - any algorithm that can crack RSA would - with only trivial modifications - be able to
infer what your picture must look like.