similar to: RMagick and thumbnails

Displaying 20 results from an estimated 3000 matches similar to: "RMagick and thumbnails"

2006 Mar 27
14
Image manipulation/resizing server-side?
I''d like to implement a system in a Rails app where I allow the user to upload an image file, and then the app takes that image and manipulates it, saving a thumbnail, small, and original size version of the file to the server. How would I go about doing that? Thanks, Jeff -- Posted via http://www.ruby-forum.com/.
2007 Apr 08
13
attachment_fu thumbnail not created
I followed the instructions on Mike Clark''s weblog and everything works perfectly except the thumbnail column in my DB is alwas NULL. I''m using S3 as my storage system. Anyone else having this issue with thumbnails? has_attachment :content_type => :image, :storage => :s3, :max_size => 500.kilobytes, :resize_to =>
2006 Nov 14
16
memory issues -- mongrel part of the problem?
Hi. I''m a fairly new mongrel user and have a scenario that I wanted to run by you all, see if anyone''s synapses connect -- mine def. aren''t! I''m running a fairly simple rails app through a mongrel cluster (2 mongrels). This site is consistently sloooow -- memory on the server is regularly paging (and shouldn''t be). ssh-ing in and running top shows
2011 Dec 29
1
rmagick and imagemagick
I am having issues loading imagemagick and rmagick on webfaction. I have installed a rails app called balder that organizes images. my main problem is that i can''t seem to upoload the image sthrough balder. balder uses imagemagick and rmagick when i use the console and do this: irb(main):003:0> require ''RMagick'' => nil I don''t think rmagick is
2006 Apr 23
2
file_column and Thumbnails
I see that the SVN version of the excellent file_column plug-in can create thumbnails using the url_for_image_column helper. This uses Rmagick to create the thumbnail... Quick question... Let''s say the file is a TIFF image - can the helper create a JPG version of the thumbnail for display in the browser? Curious if the plug-in can handle that transform with some creative use of the
2009 Apr 16
6
Using Paperclip::Processor and RMagick to sharpen my thumbnails
Hi, I''m brand new to RMagick (and pretty new to Rails for that matter!). Right now, site owners are allowed to upload product and ingredient photos to the website. Everything works great, ingredients are sized down and proportioned correctly...the problem is that the resulting images are so blurry! So I''ve been doing some research and it looks like Paperclip::Processor may be the
2007 Feb 13
4
PDF Thumbnail - RMagick
Hi, I need to create a preview of a PDF upload to a CMS I''m building. Does anyone know how to create a thumbnail of the first page of a PDF using RMagick? Any ideas welcome, ~ Mark -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2008 Sep 15
1
RMagick Image Rendering Problem
RMagick Image Rendering I am fairly new to Ruby on Rails and I have been trying to upload images and create thumbnails using the "Processing Uploaded Images" recipe from the Rails Recipes book. The script uses RMagick to create thumbnails of the uploaded images and saves both the uploaded images and the thumbnails in the public/uploaded_images directory. However when I upload an image,
2006 Dec 15
6
RMagick=bad, ???=good
I know that Zed has made mention of the fact that using RMagick with mongrel and rails is a bad thing. I''m currently using FlexImage (which in turn uses RMagick) on my application and really haven''t had too many problems. We get a restart for memory usage every 8-10 hours on one mongrel of twelve running, but I''m not sure if that''s an RMagick issue. Either way,
2006 Mar 05
4
Resizing images and creating thumbnails
Hi, 1. How to resize an image uploaded by a web form before saving it to the disk? (i need all uploaded images to have similar size) 2. How to create thumbnails? Is it enough if i specify small size of the image in html or would the image look horrible? Can i do it somehow in ''realtime'' using javascript? Or is it best to create thumbnail as a separate file? 3. How to get
2006 Jun 30
1
delay displaying rmagick resizing of uploaded images
Hi, I am using rmagick to resize a copy of uploaded images and display the copy as a thumbnail. Once the upload is processed it redirects the user to a page that should display the thumbnail to the user. The problem is that the rmagick resize function seems to keep going in the background after handing the new images url (and control) back to rails, which then happily renders the page with
2007 Feb 06
1
Attachment_fu ImageScience FreeImage thumbnail quality
I''ve tried migrating acts_as_attachment to attachment_fu (just to see if I could replace RMagick with ImageScience+FreeImage), but the quality of the thumbnails is just horrendous, blurred beyond recognition (downscaling a 1280x1024 to a few considerably smaller thumbnails). Changing attachment_fu to use RMagick again and the thumbnails were crispy sharp again. I was wondering
2007 Jul 11
7
Best way to upload an image and make a thumbnail
Hi, which is the best way to upload an image, keep that and also make a thumbnail? The images should not be stored in the database, but as normal image files in a specific directory. I think that for the thumbnail i should use rmagick, but for the upload ? (something which work with and without javascript, in every browser) Thanks :) -- Posted via http://www.ruby-forum.com/.
2009 Jan 29
7
Installed gems aren't installed
Like the subject says, I''ve got a really weird problem. A co-worker added a couple of gems to our rails project. I installed these gems on my machine (a macbook, os x 10.5.6), start the server, and it says it can''t find these gems: ============= Missing these required gems: mini_exiftool = 1.0.1 mini_magick = 1.2.3 You''re running: ruby 1.8.6.114 at
2007 May 05
0
acts_as_attachment - no thumbnails?
the full-size pics upload OK, but no thumbs or resizing. There are no errors or exceptions that I can see, just not getting any thumbnails. The DB column ''thumbnail'' is always NULL rmagick-1.15.6 is freshly installed. I have the :thumbnails stuff setup per http://weblog.techno-weenie.net/articles/acts_as_attachment/thumbnailing using a model like this: class EventPic
2006 Jun 20
0
file_column Trying to Create Thumbnails of Non-Image Files??
Howdy. We use the handy file_column plug-in in some of our apps. We have a model with a file field and we upload both images and non-images into this field. It is specified as follows: file_column :file_uri, :magick => {:versions => {:thumbnail => {:size => ''200x''}}} Well, it works great for images but for non-images, the save fails. The root cause is an
2006 Feb 28
6
File_column, RMagick, and watermarking
I''m working on a photo gallery and I''m using File_column to handle the uploads of the files and create my thumbnails, but does anyone here have any idea how to have a watermark (opaque text maybe) placed over one of the versions? Any ideas on how to go about this would be great. Even if it''s just straight RMagick code, that would be fine too. Thanks in advance for the
2007 May 23
8
ImageScience, Mini-Magick and RMagick
I''m going to be generating thumbnails from user uploaded images. I''m looking around at the libraries available to do this sort of thing and there are three that look promising. ImageScience -- http://seattlerb.rubyforge.org/ImageScience.html Mini-Magick -- http://rubyforge.org/projects/mini-magick/ RMagick -- http://rmagick.rubyforge.org/ It looks like a lot of people are
2007 Jan 03
1
Square thumbnails are blurred
Hey I''m using mini_magick to create some square thumbnail using the following code... image.resize ''x200'' image.resize ''200x<'' image.resize ''50%'' image.gravity ''center'' image.crop ''100x100+0+0''
2008 Apr 15
4
is there a way to outsource image uploads?
I''m trying to keep my rails app lean and mean and want to avoid (if possible) dealing with image uploads, thumbnail generation, running RMagick etc. I was excited about Amazon letting you upload files directly from the browser to your S3 bucket (http://doc.s3.amazonaws.com/proposals/ post.html) but I couldn''t figure out how to generate thumbnails - has anyone figured this out?