Skip to content
Prev 40799 / 398498 Next

Reading JPG files within R

On Thu, 6 Nov 2003, Paolo Sirabella wrote:

            
I don't think your question was answered straight away, and maybe you have 
found a solution yourself. Typically, you can convert your JPG to the 
format handled by the pixmap package, PPM, in a graphics utility such as 
ImageMagick on Windows or Unix/Linux, and then use pixmap, which gives you 
an array in its pixmapRGB form.