Images of size different than 512x512 can be processed.