1. A method comprising: storing image data of an image in a memory, the image data arranged in a raw format; and conveying the image data from the memory to a pre-processor comprising a pre-processing loop for pre-processing the image data in the raw format in multiple times, wherein the pre-processor is configured to access a plurality of pre-processing parameter sets, and wherein the parameter sets used for pre-processing in at least some of the multiple times are different from the parameter sets used for pre-processing in other of the multiple times, wherein the image data in the raw format stored in the memory comprises compressed image data, said method further comprising: retrieving the compressed image data from the memory for providing retrieved data; decompressing the retrieved data for providing decompressed data; and then conveying the decompressed data to the pre-processor for pre-processing.