In our mediawiki installation PDF generation works very well, except
for gif images. They do not show up. Not in PDFs generated from our
wikis, not in the mwlist.rl example sun.pdf. The gifs do show up in
ODF exports.

>From the log (when creating sun.pdf) :

2009-10-26T15:43:35 rlwriter.info >> rendering: 'http://
en.wikipedia.org/w/index.php?title=Sun'
convert: invalid argument for option `32mb': -
limit.
2009-10-26T15:43:35 rlwriter.warning >> converting broken image failed
(return code: 1): '/tmp/tmpfKWdw-/images/safe/
d893fca002020b02fbbd4c3fcc0009ff.png'
convert: invalid argument for option `32mb': -
limit.
2009-10-26T15:43:36 rlwriter.warning >> converting broken image failed
(return code: 1): '/tmp/tmpfKWdw-/images/safe/
d893fca002020b02fbbd4c3fcc0009ff.png'
...

I can simulate the same error by using the command
# convert -limit memory 32mb image.gif image.jpg
convert: invalid argument for option `32mb': -limit.

OS: RHEL 5.3 or Debian Sarge
 Version: ImageMagick 6.0.6 02/11/07 Q16
 Version: mwlib.rl-0.12.4-py2.4

It does work on a recent ubuntu installation:
 Version: ImageMagick 6.4.5 2009-06-04 Q16
 Version: mwlib.rl-0.12.4-py2.6

Upon further testing, it looks as if the older version of convert
doesn't understand the mb in 32mb.  Using convert without the mb
works.
# convert -limit memory 32 image.gif image.jpg

Question: how do I remove that mb from the code so that it will work.
I know it's in  mwlib.rl-0.12.4-py2.4.egg/mwlib/rl/rlwriter.py, but I
don't know if it's just a matter of removing the 'mb' in the python
code. Sorry, I'm no python-man.

Any hints appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to