#9 open
paolo.negri

Rmagick not compressing jpg

Reported by paolo.negri | July 12th, 2007 @ 09:54 AM

'm using attachment_fu with the old dirty Rmagick.

I just noticed it doesn't compress at all jpegs creating HUGE (in bytes) thumbnails and resized images.

I'm on ubuntu 6.0.6

ruby 1.8.4 (2005-12-24) [i486-linux]

Comments and changes to this ticket

  • paolo.negri

    paolo.negri July 12th, 2007 @ 09:54 AM

    here's the patch to turn on compression when using Rmagick. It sets quality to 85%

  • Rick

    Rick July 12th, 2007 @ 09:54 AM

    • Assigned user set to “Rick”
    • State changed from “new” to “open”

    Can you somehow read the compression from the existing jpg and use that? I'd rather not hardcode a value in there.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Attachments

Tags

Pages