lib/frameit/editor.rb in frameit-1.0.0 vs lib/frameit/editor.rb in frameit-1.0.1

- old
+ new

@@ -44,11 +44,11 @@ offset_information = image_offset(screenshot) raise "Could not find offset_information for '#{screenshot}'" unless (offset_information and offset_information[:width]) width = offset_information[:width] image.resize width - result = template.composite(image) do |c| + result = template.composite(image, "png") do |c| c.compose "Over" c.geometry offset_information[:offset] end output_path = screenshot.gsub('.png', '_framed.png').gsub('.PNG', '_framed.png') @@ -167,6 +167,6 @@ } end end end end -end \ No newline at end of file +end