https://bugzilla.wikimedia.org/show_bug.cgi?id=19073

           Summary: Add support for using graphicsmagick instead of
                    imagemagick for thumbnailing
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Images and files
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Graphicsmagick (http://www.graphicsmagick.org/) is a fork of imagemagick, that
is smaller, faster and has more api stability. It also seems to have improved
documentation (or at least it has examples and descriptions in the man file
that imagemagick does not)

example performance chart:

http://rmagick.rubyforge.org/resizing-charts.html

it comes with a compatibility package to provide the imagemagick
convert/mogrify etc commands but has dropped some of the imagemagick shortcuts
like "-thumbnail"

to thumbnail on graphicsmagick you would do

gm convert -size 120x120 cockatoo.jpg -resize 120x120 +profile "*"
thumbnail.jpg

the -thumbnail on imagemagick is a shortcut to "-resize 120x120 -strip".
GraphicsMagick integrates the -strip with the profile option that already is
there to manage image profiles

It is quite easy to add support for this. I made a quick patch for my system,
however I would think it might be better to actually replace imagemagick with
graphicsmagick (for the reasons listed above). If it was to be added as an
option, would you prefer a new set of config options or to modify how the
current ones are used? also would you prefer it was handled in a separate "if"
block or merged with the current imagemagick support?

I vote for switching to graphicsmagick anyway.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to