Topic on Project:Support desk

unable to resize GIF images in mediawiki

5
220.227.122.133 (talkcontribs)

Mediawiki version:1.22.7 PHP version PHP : 5.3.3 with all the dependencies MY SQL Version 5.6.16-log MySQL Community Server Installed imagMagick extension.

background:

I use simulation of our software and create GIF image as outputs (use camatasia to create the GIF)

The resolution of the GIF file I create is 1024 by 768. I want to resize the image to width of 800 and once I add the command 800px it stops displaying the image on the page.

Question: Can you tell me what is it that I am doing incorrect.

Mahesh

AKlapper (WMF) (talkcontribs)

Please provide specific steps to reproduce, e.g. what "command" you added.

Ciencia Al Poder (talkcontribs)

If you're talking about a GIF created with camtasia, I'm supposing you're talking about an animated gif. This could result on a large file size. Resizing such image may need a lot of time or memory.

MediaWiki limits the amount of memory, time and resulting files when resizing images (and other operations), so it may be the problem. You may try increasing $wgMaxShellMemory, $wgMaxShellTime or $wgMaxShellFileSize.

220.227.122.133 (talkcontribs)

Hi,

Thanks for the response. Will try the changes to the configuration and update the post if it helped.

Reply to "unable to resize GIF images in mediawiki"