Search found 81 matches

by tsdineen
2016-05-10T15:24:52-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

Nevermind, I figured it out. Instead of using the ImageInfo->magick, you need to set the ImageInfo->filename to include the magick prefix. so, strcpy( imageinfo->filename, filename ); would need to be set to strcpy( imageinfo->filename, "KSVG:" ); strcat( imageinfo->filename, filename ); Then you ...
by tsdineen
2016-05-10T14:57:09-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

I have the delegate working if I prefix display or convert with KSVG:. How do I translate that to the C api? I thought it was a matter of setting the ImageInfo->magick before calling ReadImage().
by tsdineen
2016-04-29T11:46:21-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

Yes, it is in /etc/ImageMagick/ and it being picked up. Verified that with strace.
by tsdineen
2016-04-29T11:37:38-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

No. It gives the same error.
by tsdineen
2016-04-29T10:43:36-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

rh6gold:dev/tls>/usr/bin/display KSVG:ansg011.svg
display: no decode delegate for this image format `/tmp/magick-geY7prO8' @ error/constitute.c/ReadImage/566.

Though I renamed the svg delegate to rsvg and that worked.
rh6gold:dev/tls>/usr/bin/display RSVG:ansg011.svg
<displays>
by tsdineen
2016-04-29T09:44:47-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

How do you setup a delegate for a KSVG: prefix? I thought it was just as simple as adding a line in the delegates.xml like

<delegate decode="ksvg" command=""/usr/bin/ksvgtopng" "%i" "%o""/>
by tsdineen
2016-04-26T13:35:26-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

In the simplest repro, the file fails to display properly, if I use 1) display ansg011.svg 2) rsvg-view ansg011.svg 3) rsvg-convert ansg011.svg > ansg011.png display ansg011.png It displays properly, if I use 1) gwenview ansg011.svg 2) ksvgtopng ... ansg011.svg ansg011.png display ansg011.png I want ...
by tsdineen
2016-04-26T12:40:26-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

Yes, I use the C api. My example for ImageMagick not working is display, broken down to rsvg(-view) failing.
by tsdineen
2016-04-26T10:09:17-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

I don't use convert, so how do you make this work through the api?
by tsdineen
2016-04-26T09:15:53-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

Sorry, I'm not sure what font that is, but it is part of our product. Here is what happens when I run rsvg-convert ftp://ftp.sas.com/outgoing/ImageMagick/rsvg.png and when I run ksvgtopng ftp://ftp.sas.com/outgoing/ImageMagick/ksvgto.png As you can see, the ksvgtopng is picking up the font, rsvg and ...
by tsdineen
2016-04-26T07:47:14-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

You can find the sample svg here. ftp://ftp.sas.com/outgoing/ImageMagick/ansg011.svg Note: this is only a problem with the rsvg product. The Z=31.6 should be like ̿X=31.6 Which is a Combining Double Overline + Capital X. You may have issues seeing this, if you Linux box doesn't have the correct ...
by tsdineen
2016-04-25T13:35:19-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

I would like to note, this file views properly with gwenview, firefox, display (if converted using ksvgtopng).
by tsdineen
2016-04-25T13:33:59-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

No, it didn't covert the unicode character properly.
by tsdineen
2016-04-25T13:26:43-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Re: Using other svg delegate

All of my conversions are done in the api, not in the tools. the simple observation is display my.svg Where there are several fonts being used and various UTF8 characters. display -version Version: ImageMagick 6.7.2-7 2015-02-27 Q16 http://www.imagemagick.org so my tool links in libMagickCore.so.5.0 ...
by tsdineen
2016-04-25T12:51:15-07:00
Forum: Users
Topic: Using other svg delegate
Replies: 27
Views: 27706

Using other svg delegate

I am using The ImageMagick that comes with Red Hat 6.7. It is picking up the librsvg shared object to convert svg material. The verison of rsvg installed on the rh6 machine, as well as the latest version, fail to convert the text on the page properly. I am able to view this thorugh gwenview and ...