[R] how to read a PSB file in R?

Rui Barradas ru|pb@rr@d@@ @end|ng |rom @@po@pt
Tue May 20 06:56:59 CEST 2025


Às 03:17 de 20/05/2025, Ranjan Maitra via R-help escreveu:
> I have come across this file (warning, massive, 4.3 GB)  https://esahubble.org/media/archives/images/original/heic1502a.psb and it appears to be a filetype I was not aware of previously.
> 
> Is it possible to read the file in R using any tool? It is an image and I am looking for the RGB of the file.
> 
> Many thanks and best wishes,
> Ranjan
> 
> ______________________________________________
> R-help using 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.
Hello,

Maybe this [1] will help. It seems that that file is well known to have 
problems due to its large size but ImageMagick might be able to handle it.
And there is a magick package on CRAN [2].



[1] https://github.com/ImageMagick/ImageMagick/issues/5509
[2]  https://CRAN.R-project.org/package=magick

Hope this helps,

Rui Barradas


-- 
Este e-mail foi analisado pelo software antivírus AVG para verificar a presença de vírus.
www.avg.com



More information about the R-help mailing list