Search found 17 matches

by yhuynh
2018-04-13T04:46:47-07:00
Forum: Users
Topic: Error when converting svg to png with inkscape
Replies: 1
Views: 4753

Error when converting svg to png with inkscape

Hi i got the following output with this command : inkscape -z -e test.png Item-2813-Face.svg Failed to get connection ** (inkscape:28007): CRITICAL **: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed ** (inkscape:28007): CRITICAL **: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (pr...
by yhuynh
2018-04-13T04:25:46-07:00
Forum: IMagick
Topic: Can you help me switch back the original delegate?
Replies: 3
Views: 12779

Re: Can you help me switch back the original delegate?

what about uninstalling inkscape?

sudo apt-get remove inkscape

i wonder if removing inkscape will leave imagemagick functional...
by yhuynh
2018-04-12T05:08:07-07:00
Forum: IMagick
Topic: Can you help me switch back the original delegate?
Replies: 3
Views: 12779

Can you help me switch back the original delegate?

Hello a time ago I installed imagemagick on Debian8, then i installed Inkscape, thus changing the delegate in xml file. However, I would like to know how to switch back to the original delegate RSVP I think? Here is the current line : <delegate decode="svg:decode" stealth="True" ...
by yhuynh
2017-11-23T03:46:21-07:00
Forum: Users
Topic: Inkscape generated a png file of size different than SVG file
Replies: 8
Views: 6441

Re: Inkscape generated a png file of size different than SVG file

Now I upgraded Inkscape 0.92, and still have the scale issue. So my tshirt.svg is 1879x2053 using* convert tshirt.svg to tshirt.png tshirt.png size s 1410 x 1541 pixels, which is 75% of the original size interesting when using Inkcape, I have this output: Background RRGGBBAA: ffffff00 Area 0:0:1879:...
by yhuynh
2017-11-22T09:24:58-07:00
Forum: Users
Topic: Inkscape generated a png file of size different than SVG file
Replies: 8
Views: 6441

Re: Inkscape generated a png file of size different than SVG file

Ok thanks i don't know why my inkscape is 0.48 ...
by yhuynh
2017-11-22T07:39:23-07:00
Forum: Users
Topic: Inkscape generated a png file of size different than SVG file
Replies: 8
Views: 6441

Re: Inkscape generated a png file of size different than SVG file

Sorry I mistyped the url to the images !
I tried again, using your command and what I get is a smaller image 2326 x 1218.
Can you try with the update urls to images?
by yhuynh
2017-11-22T06:27:46-07:00
Forum: Users
Topic: Inkscape generated a png file of size different than SVG file
Replies: 8
Views: 6441

Re: Inkscape generated a png file of size different than SVG file

Hi the version: Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-15 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff ...
by yhuynh
2017-11-22T03:14:53-07:00
Forum: Users
Topic: Inkscape generated a png file of size different than SVG file
Replies: 8
Views: 6441

Inkscape generated a png file of size different than SVG file

Hi, I delegate to inkscape the creation of an png image from a SVG file In the SVG file the property viewBox="0 0 3276 1444" the ratio is 0.44 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%&quo...
by yhuynh
2017-11-21T03:17:54-07:00
Forum: Users
Topic: How to configure inkscape to work with Imagemagick?
Replies: 12
Views: 15041

Re: How to configure inkscape to work with Imagemagick?

I opted for the replace "http://" by absolute path and it works like a charm. thanks. Problem solved !
by yhuynh
2017-11-21T02:09:35-07:00
Forum: Users
Topic: How to configure inkscape to work with Imagemagick?
Replies: 12
Views: 15041

Re: How to configure inkscape to work with Imagemagick?

IM version: Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-15 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf ...
by yhuynh
2017-11-21T01:40:36-07:00
Forum: Users
Topic: How to configure inkscape to work with Imagemagick?
Replies: 12
Views: 15041

Re: How to configure inkscape to work with Imagemagick?

The process i like this : I have a svg file as input, and in the svg file there are links to images (same origin), in php.ini allow_url_open = true this line fails to create the png file, : exec("/usr/bin/convert -background none /home/printplusprod/public_html/media/pdp/download/200000497/Item...
by yhuynh
2017-11-21T00:39:35-07:00
Forum: Users
Topic: How to configure inkscape to work with Imagemagick?
Replies: 12
Views: 15041

Re: How to configure inkscape to work with Imagemagick?

ok I confirm it works without inkscape:.
Let me decipher the PHP program first and i'll get back to you with more sample code.
by yhuynh
2017-11-20T11:21:33-07:00
Forum: Users
Topic: How to configure inkscape to work with Imagemagick?
Replies: 12
Views: 15041

Re: How to configure inkscape to work with Imagemagick?

I didn't write this code, so i am not familiar with it, it contains another command : composite exec("/usr/bin/composite -compose Dst_In -gravity center ".$masquefolder.$sideMasque." ".$destfolder.$destfile.".png ".$destfolder.$destfile."1.png 2>&1"); exec...
by yhuynh
2017-11-20T09:52:13-07:00
Forum: Users
Topic: How to configure inkscape to work with Imagemagick?
Replies: 12
Views: 15041

How to configure inkscape to work with Imagemagick?

After installing Inkscape, I try to make it work with Imagemagick I notice the delegates.xml file is now like that: <delegate decode="svg" command="&quot;rsvg-convert&quot; -o &quot;%o&quot; &quot;%i&quot;"/> <delegate decode="svg:decode" stealth...
by yhuynh
2017-11-20T08:44:38-07:00
Forum: Users
Topic: How to convert bigger base64 files?
Replies: 6
Views: 6333

Re: How to convert bigger base64 files?

Okay I installed Inkscape, can convert with the simple syntax : $inkscape original.svg --export-png=destination.png now How do i replace : exec("/usr/bin/convert -background none ".$file." -depth 8 ".$destfolder.$destfile.".png 2>&1"); where $file is the svg and $de...