File upload and check width and height of the picture

i have an file upload in my rails app and i’m saving the picture in the
filesystem.
i need to validate if the uploaded picture have a certain width and
height.

how can i do this

thank you very much

RMajick is the way to go

hannes stockner wrote:

i have an file upload in my rails app and i’m saving the picture in the
filesystem.
i need to validate if the uploaded picture have a certain width and
height.

how can i do this

thank you very much

Yes - you won’t need to install the base applications either

hannes stockner wrote:

it is also possible with tkimage?

Mick S. wrote:

RMajick is the way to go

hannes stockner wrote:

i have an file upload in my rails app and i’m saving the picture in the
filesystem.
i need to validate if the uploaded picture have a certain width and
height.

how can i do this

thank you very much

it is also possible with tkimage?

Mick S. wrote:

RMajick is the way to go

hannes stockner wrote:

i have an file upload in my rails app and i’m saving the picture in the
filesystem.
i need to validate if the uploaded picture have a certain width and
height.

how can i do this

thank you very much

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs