View Single Post
Old 08-19-2020, 12:43 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,921
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Sarmat89 View Post
No, they have png extension and image/png MIME type.
Here is an example file which illustrates the problem.
I have to agree something odd is happening here. The filetype is showing as jpeg in the converted FB2 file. I then wrapped the image in svg and the file type showed as png. I've attached the two FB2 output files in a .zip file.

Over to the devs...

Code:
    <svg xmlns="http://www.w3.org/2000/svg" height="100%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 75 27" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink"><image height="75" width="27" xlink:href="../Images/image.png"/></svg>
  </div>

Last edited by DNSB; 08-19-2020 at 01:45 PM.
DNSB is offline   Reply With Quote