Welcome Guest Search | Active Topics | Sign In | Register

SVG's outputting as images? Options
jblplatinum
Posted: Thursday, June 19, 2014 9:20:07 PM
Rank: Newbie
Groups: Member

Joined: 6/19/2014
Posts: 5
Hi,

We are trying out the trial version of the EO PDF converter for use in a web application

Two questions:
1) I am converting a page to HTML which contains a number of SVG elements. The SVGs are outputting as images (that is, not present as vector graphics in the PDF). Is there a way to fix this? Is SVG to vector PDF graphics supported in the full version? (see http://i.imgur.com/diR0c2l.png)

2) random portions of the document are rasterized. I am assuming this is due to the trial version limitations - can you confirm? (see http://i.imgur.com/s3avyPx.png)

Thanks
eo_support
Posted: Thursday, June 19, 2014 9:32:02 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

Please check if you have anything below, above or around the SVG. SVG will be rendered in vector format unless it has to be "mixed" with something else. For example, a half transparent layer above the SVG element would force the render to mix the SVG output with the layer above it. Other things that can trigger mixing is CSS shadows. You can try comment HTML/CSS in your page block by block until you can find out what triggered the mixing.

Thanks!
jblplatinum
Posted: Sunday, June 22, 2014 7:58:11 PM
Rank: Newbie
Groups: Member

Joined: 6/19/2014
Posts: 5
Thanks for your explanation

The issue of random areas of text being rasterized is still present

Both using the Live Demo page on your website, and the library directly in our code, produce the same result:
source URL: https://116.90.79.206/report/ref=sample
output PDF: https://dl.dropboxusercontent.com/u/43207753/4831afa6-c578-4b2b-9c18-a86690911a79.pdf

This is a major issue for us which we need to overcome.

Can you please point me in the right direction to work around this?

Thanks
jblplatinum
eo_support
Posted: Sunday, June 22, 2014 9:06:52 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
jblplatinum wrote:
Can you please point me in the right direction to work around this?


I believe our previous reply has already clearly pointed you to the right direction. We already pointed out what you need to check so you can start from those first.

Thanks!
jblplatinum
Posted: Sunday, June 22, 2014 10:54:31 PM
Rank: Newbie
Groups: Member

Joined: 6/19/2014
Posts: 5
Sorry for not being clear but my second question has nothing to do with SVGs.

I have spent some time looking for a workaround and have now started a new thread to avoid further confusion
http://www.essentialobjects.com/forum/postsm34184_rgba-textshadow-color-causes-random-portions-of-text-to-rasterize.aspx
eo_support
Posted: Sunday, June 22, 2014 11:08:30 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

I believe the cause and the solution for both questions are the same. Both SVG and text are in vector format, however when a mixing must occur, they will be flatted down to bitmaps.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.