convert svg to png on publication

Please post all questions on Help+Manual 8 here

Moderators: Alexander Halser, Tim Green

Post Reply
Peter Muckle
Posts: 101
Joined: Fri Oct 18, 2019 9:33 pm

convert svg to png on publication

Unread post by Peter Muckle »

Hello,

Is there an option to convert svg to png on publication? It would be very useful to have the option for all images, or even better to have it on individual images. It used to be automatic I think.

Thanks

Peter
User avatar
Tim Green
Site Admin
Posts: 23177
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: convert svg to png on publication

Unread post by Tim Green »

Hi Peter,

SVG is only converted to PNG in output formats that don't support it, like CHM, or if the source PNG contains features we know would be problematic. Configurable conversion is only available in the HTML Export Options for CHM and WebHelp for bitmap images (BMP, IPP, TIFF and so on) that are not supported in HTML.

Where do you need to specify the conversion to PNG for SVG?
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Peter Muckle
Posts: 101
Joined: Fri Oct 18, 2019 9:33 pm

Re: convert svg to png on publication

Unread post by Peter Muckle »

Thanks,

epub, because Android doesn't expand svgs, and eWriter/Webhelp to protect certain svgs from alteration.

In some ways, image level selection is most useful, because there are some which require labels editing in svg, but not many and I'd rather protect the rest. I could just replace my svgs with pngs, but there are hundreds.
User avatar
Tim Green
Site Admin
Posts: 23177
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: convert svg to png on publication

Unread post by Tim Green »

Hi Peter,

Thanks for the explanation, I've passed this on to our developers for consideration. :)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Alexander Halser
EC-Software Support
Posts: 4101
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Re: convert svg to png on publication

Unread post by Alexander Halser »

Hi Peter,
eWriter/Webhelp to protect certain svgs from alteration
Which SVGs are altered in eWriter/Webhelp and how does that look like?

If a browser does not auto-expand SVGs and they are large, I recommend to insert them as toggle.
Alexander Halser
Senior Software Architect, EC Software GmbH
Peter Muckle
Posts: 101
Joined: Fri Oct 18, 2019 9:33 pm

Re: convert svg to png on publication

Unread post by Peter Muckle »

I mean alteration by opening and editing the svg file.

In some cases I want to allow it, but in the majority a png would be better. I appreciate a png can be edited, but does not have the original drawing information contained in an svg. For example, in Word.

I have found in epub on Android that svgs don't enlarge. OK on iphones apparently.
Peter Muckle
Posts: 101
Joined: Fri Oct 18, 2019 9:33 pm

Re: convert svg to png on publication

Unread post by Peter Muckle »

Or, the ability to convert all project images to png would be handy (it used to do this automatically, until I asked you to include svgs in export :oops: )
Peter Muckle
Posts: 101
Joined: Fri Oct 18, 2019 9:33 pm

Re: convert svg to png on publication

Unread post by Peter Muckle »

Sorry to ressurect an old thread, but I'd really like an option to convert svg to png for epub output. An earlier version used to do this automatically, then it was updated to export svg to epub.

I wondered how much trouble it would be to convert all svg to png for epubs?

Thanks

Peter
Post Reply