On 2025-05-26 11:49 a.m., Ranjan Maitra via R-help wrote:
I wanted to mention that after posting on the ImageMagick discussion board on github, I learnt that the restriction does not hold for converting to PNG (but for JPG) so I was able to convert it. However, I am not able to read the file into R (even with 0.5TB RAM) so I will unfortunately have to look at other options than R:-( I think I will write the code in C, but the PNG gives me a better start than I would have had with the original file.
ImageMagick can do cropping of files, so if the R limitation is due to size, you could break up the file before trying to read it.
Duncan Murdoch ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide https://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.