[R] Jpg files in R

Henrique Dallazuanna wwwhsd at gmail.com
Mon Aug 25 21:23:36 CEST 2008


Is there the rimage package:


if(!require(rimage))install.packages("rimage")
x <- read.jpeg(system.file("data", "cat.jpg", package="rimage"))
dim(x)[1:2]



2008/8/25 Leandro Marino <leandro at cesgranrio.org.br>:
>
>
>
> If I have an file like an JPG, gif, png or other, exist any kind of function
> in the R to see de dimension in pixels of this image?
>
>
> Thanks
>
>
> Atenciosamente,
> Leandro Lins Marino
> Centro de Avaliacao
> Fundacao CESGRANRIO
> Rua Santa Alexandrina, 1011 - 2o andar
> Rio de Janeiro, RJ - CEP: 20261-903
> * (21) 2103-9600 R.:236
> * (21) 8777-7907
> * leandro at cesgranrio.org.br <mailto:leandro at cesgranrio.org.br>
>
> "Aquele que suporta o peso da sociedade
>    e precisamente aquele que obtem
>  as menores vantagens". (SMITH, Adam)
>
> P  Antes de imprimir pense em sua responsabilidade e compromisso com o MEIO
> AMBIENTE
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O



More information about the R-help mailing list