jnicklas/carrierwave — Issue #641: Transparency
Author: eks
Created: 2012-03-02 04:49:11+00:00
State: open

Hi,

I'm trying to convert a JPG to a PNG with a transparet background. Here the code I'm using:

process :convert => 'png'

def filename
@filename = ( @filename.split('.').first + '.png' )
end

version :thumb do
process :resize_and_pad => [100, 100]
end

But the generated thumbs have not a transparent background.
By the way, if i upload a PNG file it gets a transparent background.

Any idea?