hannes stockner
2006-Apr-25 10:32 UTC
[Rails] 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 -- Posted via http://www.ruby-forum.com/.
Mick Sharpe
2006-Apr-25 10:43 UTC
[Rails] Re: file upload and check width and height of the picture
[url=http://rmagick.rubyforge.org/]RMajick[/url] 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-- Posted via http://www.ruby-forum.com/.
hannes stockner
2006-Apr-25 11:02 UTC
[Rails] Re: file upload and check width and height of the picture
it is also possible with tkimage? Mick Sharpe wrote:> [url=http://rmagick.rubyforge.org/]RMajick[/url] 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-- Posted via http://www.ruby-forum.com/.
Mick Sharpe
2006-Apr-25 11:08 UTC
[Rails] Re: file upload and check width and height of the picture
Yes - you won''t need to install the base applications either hannes stockner wrote:> it is also possible with tkimage? > > > > Mick Sharpe wrote: >> [url=http://rmagick.rubyforge.org/]RMajick[/url] 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-- Posted via http://www.ruby-forum.com/.
Apparently Analagous Threads
- Determining width and height of image files
- file_column plugin error
- tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"
- Determine image width of png, gif or jpg?
- tcltk image reading problem (on a mac?): [tcl] encountered an unsupported criticial chunk type "eXIf"