search for: create_fullsize

Displaying 1 result from an estimated 1 matches for "create_fullsize".

2006 Apr 24
0
ImageMagick and EXIF Data
...umbnail_path File.join(THUMBDIRECTORY, "#{self.id}-thumb.jpg") end def self.display_all_images find(:all, :order => "created_at desc") end private ####### def process if @file_data create_directory cleanup save_fullsize create_fullsize create_thumbnail load_exif_data @file_data = nil end end def save_fullsize File.open(path,''w'') do |file| file.puts @file_data.read end end def create_fullsize img = Magick::Image.read(path).first img.change_geometry!(''...