OK, I ran it again but to a different directory, I got the exact same image
you see on the site: distorted. So, ImageMagick works but it's giving me
distorted PNG's.




Platonides wrote:
> 
> On 11/11/11 03:03, badon wrote:
>> 
>> I just tried running:
>> 
>> convert -resize 120 Template-info.svg Template-info.png
>> 
>> and I got:
>> 
>> convert: unable to open image `Template-info.png': Permission denied.
>> 
>> I checked my permissions, and it looks like the owner of some of the
>> image
>> directories is "webservd", while most of the others are the main user for
>> the wiki account. The webservd owner directory permissions are 0755 while
>> the main user directories are 0777. The root "images" directory is owned
>> by
>> the main user, and is 0777.
>> 
>> Is that normal, or is it likely that the issue is actually a permissions
>> problem? Or maybe I just need to su to run the convert command?
> 
> It's a bit strange that there's a mixture, but doesn't seem wrong. You
> probably uploaded some of the folders (those by your account), and the
> others were made by the web server when running the wiki. As it can
> create the files, it's no problem.
> You can run the convert command to a different folder if you wish:
>  convert -resize 120 Template-info.svg /tmp/Template-info.png
> 
> It was just to test whether your imagemagick was able to produce the
> right thumbnail.
> 
> 
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Help%3A-URL-resizing-404%2C-SVG%27s-render-distorted-tp32801191p32828793.html
Sent from the WikiMedia General mailing list archive at Nabble.com.


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

Reply via email to