Forum: Ruby on Rails Cropping images with RMagick after uploading with acts_as_at

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6329e9ce6b0c23f8bcf64a6c46a2bb81?d=identicon&s=25 the matt (Guest)
on 2007-02-22 07:04
(Received via mailing list)
Hi,

I'm using acts_as_attachment to create thumbnails in a filesystem (no
problem there), but I'm having a rough time figuring out how modify
the image to crop it, and then  put it back into the filesystem.

I think that I can pull the image OK and modify the Image OK with
RMagick.

So really I just need a pointer on putting it back into the filesystem
as a modified thumbnail, but a semi-complete example would be a bonus.

Thanks

Matt
This topic is locked and can not be replied to.