View Single Post
Old 11-03-2015, 06:21 PM   #145
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,834
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by jackie_w View Post

Remaining work:
  • ...
  • especially for SVG images - I don't own enough samples to thoroughly test this
  • ...
Hi Jackie;

In order to replace svg images (in the book to be scrambled), in the original book, where there is a svg image, you'll find yourself with the following alternatives:

1. Svg images inside svg wrappers:
In this case, you have to find the following statement:

Code:
xlink:href="../Images/Name_of_the_original_image.svg"
Once you found that, you should only replace "Name_of_the_original_image.svg" with "azw3.png" or "epub.png" or "kobo.png" or "xkobo.png".

2. Svg images with <img> tag:
In this case is like any other image; you have to find:

Code:
src="../Images/Name_of_the_original_image.svg"
and to make the respective replace.

3. It can be others cases where you can find svg images. I will send you an epub with lots of svg images (with images and text) so you can find the pattern (there is a pattern ) to do the replace.

Regards
RbnJrg is offline   Reply With Quote