Search found 12 matches

by pfriedl
2015-12-03T14:39:01-07:00
Forum: Consulting
Topic: PAID: Need help converting SVG to PNG with IMagick
Replies: 6
Views: 20849

Re: PAID: Need help converting SVG to PNG with IMagick

Thanks for the fast reply. I won't be able to use command line as this is running in a web app (not command line, but on an automated, bulk scale) and I'm using IMagick and an instance of an ImageMagick object in the code so I can build composite images after converting the SVG. So do I need to chan...
by pfriedl
2015-12-03T14:16:59-07:00
Forum: Consulting
Topic: PAID: Need help converting SVG to PNG with IMagick
Replies: 6
Views: 20849

Re: PAID: Need help converting SVG to PNG with IMagick

Hmmm, I was under the impression that ImageMagick would default to inkscape if inkscape was installed. I have verified that inkscae is installed and working on the server, but I wasn't aware that I needed a delegates.xml. I'll definitely check... I ran the command "convert -list delegate", and it lo...
by pfriedl
2015-12-03T11:48:25-07:00
Forum: Consulting
Topic: PAID: Need help converting SVG to PNG with IMagick
Replies: 6
Views: 20849

PAID: Need help converting SVG to PNG with IMagick

Please see my previous post here: http://www.imagemagick.org/discourse-server/viewtopic.php?t=28725 We've got most of the code done, but we're having an issue with IMagick/ImageMagick shifting grouped items in an SVG down and to the right. The codebase is php 5.5+ on a CentOS server. ImageMagick 6.9...
by pfriedl
2015-11-24T11:57:39-07:00
Forum: IMagick
Topic: IMagick renders SVG groups offset. Help!
Replies: 9
Views: 10732

Re: IMagick renders SVG groups offset. Help!

^BUMP^ is there anyone that can figure this out? At this point, I'm willing to pay consulting fees.
by pfriedl
2015-11-22T20:15:17-07:00
Forum: IMagick
Topic: IMagick renders SVG groups offset. Help!
Replies: 9
Views: 10732

Re: IMagick renders SVG groups offset. Help!

Nope, IMagick->setImagePage doesn't seem to do the trick. Any ideas why a group tag in an SVG is offsetting the graphics?
by pfriedl
2015-11-22T18:25:21-07:00
Forum: IMagick
Topic: IMagick renders SVG groups offset. Help!
Replies: 9
Views: 10732

Re: IMagick renders SVG groups offset. Help!

Not sure what the exec command would be for the same operation. But I have to use IMagick and have the feedback as this is all happening in a script and I'm using the result to create composite images. exec wouldn't work in that case. When I use the pixels per inch, it does convert the SVG (which is...
by pfriedl
2015-11-22T16:46:55-07:00
Forum: IMagick
Topic: IMagick renders SVG groups offset. Help!
Replies: 9
Views: 10732

Re: IMagick renders SVG groups offset. Help!

Yes, I've got InkScape on the server, but I'm using the IMagick php extension. That will use Inkscape, but I'm still getting the results mentioned above.
by pfriedl
2015-11-22T15:34:45-07:00
Forum: IMagick
Topic: IMagick renders SVG groups offset. Help!
Replies: 9
Views: 10732

IMagick renders SVG groups offset. Help!

Hi all. I've got an app that takes an SVG as input and converts to a PNG as output. I've run into a problem where if the SVG has grouped items using the <g> tag, that content gets rendered way off to the right and down on the SVG. This only happens using IMagick. If I open the SVG in Illustrator or ...
by pfriedl
2015-09-28T14:51:35-07:00
Forum: Users
Topic: Problems rendering/converting SVGs with embedded images
Replies: 4
Views: 3696

Re: Problems rendering/converting SVGs with embedded images

Thanks for the help so far guys, I'm getting closer! I installed the inkscape RPM via WHM's installer, and now IM will successfully convert SVGs that have embedded images and other elements wrapped in <g> tags. One down, one to go. Do you have any clues on being able to open the really big files? Th...
by pfriedl
2015-09-28T14:10:36-07:00
Forum: Users
Topic: Problems rendering/converting SVGs with embedded images
Replies: 4
Views: 3696

Re: Problems rendering/converting SVGs with embedded images

Can inkscape be called from php and run on the server? If so, I'd be very interested in seeing if I could use that as an option.
by pfriedl
2015-09-28T13:33:38-07:00
Forum: Users
Topic: Problems rendering/converting SVGs with embedded images
Replies: 4
Views: 3696

Problems rendering/converting SVGs with embedded images

Hi all. I've been looking for some kind of answer for this, and simply haven't found it yet. I'm using ImageMagick 6.9, and I've got an app that should open SVGs, resize and build a composite image, then export to PNG. I have two problems: ImageMagick doesn't seem to handle the <g> element in SVGs. ...
by pfriedl
2015-04-22T10:05:11-07:00
Forum: IMagick
Topic: Adding fonts (ttf/otf/woff) to ImageMagick on a web server
Replies: 0
Views: 6158

Adding fonts (ttf/otf/woff) to ImageMagick on a web server

I've seen many references to adding a type.xml o the ImageMagick config, but is there a definitive tutorial on doing this? I've got a web app that has to take SVGs that may have N number of fonts and composite them with a PNG or JPG. And more importantly, does it support WOFF format fonts? The web a...