![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
PNG in AZW?
I have an epub2 with some png images. I used Sigils's kindlegen plugin (i.e., running Amazon's program) to make an AZW (not including mobi/kf7).
Looking at the resulting AZW in calibre's viewer, it indicates the images have been converted to either gif or jpegs, with some loss of quality and larger size. So does AZW just not support PNG? I searched for a while, but I couldn't find a definitive statement. I'm holding out a faint hope that it's an option but not default. A bit pathetic if Amazon doesn't support png 20 years after it was released. Otherwise, back to making gifs. Last edited by AlanHK; 08-05-2017 at 08:42 AM. |
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
As jhowell has correctly pointed out, KindleGen does NOT support .png files and will convert them regardless of the file size. (BTW, you might be able to reduce the file size of your image files with Toxaris's ePub Optimizer.) Last edited by Doitsu; 08-05-2017 at 02:15 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Quote:
I used kindlegen plugin, set to make AZW only. Also tried Kindle previewer, same result with the images. This all using Kindlegen 2.9 Made another test file with a bunch of PNG, all were converted to jpeg or gif. I optimise my images with Irfanview, which also lets you target sizes (for jpegs anyway). Last edited by AlanHK; 08-05-2017 at 11:46 AM. |
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,025
Karma: 90000009
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
I believe that since the original MOBI format only supports images in GIF, BMP and JPEG formats that kindlegen will convert other formats for backward compatibility with older Kindles.
|
![]() |
![]() |
![]() |
#5 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Quote:
It's all incompatible with old Kindles. Last edited by AlanHK; 08-05-2017 at 02:50 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Quote:
But we only know this from "I believe "? Suck-it-and-see? There really isn't any spec? I had thought that, aside from the cover, that azw3 was just epub in drag. But it looks like Amazon chose to screw it up in at least this way. So, back to the 80s and Compuserve gif for diagrams then. Last edited by AlanHK; 08-05-2017 at 02:51 PM. |
|
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,182
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IIRC both mobi and azw3 support PNG images. Various older kindle renderers have issues with some PNG images, which is probably why kindlegen doesn't support them. You can use PNG images even in plain MOBI files via an option in the MOBI Output section of the conversion dialog in calibre.
|
![]() |
![]() |
![]() |
#9 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Quote:
Though since the standard setting is to make a hybrid file with both kf7 and kf8, that would mean duplication of some images (I'm assuming that the images are shared between formats; only the text different, I could well be wrong). I'm currently just doing some books to load on my own Kindle. I do occasionally code books for publishing though, so I need to follow the standards Amazon set, implicitly or otherwise. Many ebook designers do use png in making epubs, then just convert using kindlegen. And their images are silently degraded. Last edited by AlanHK; 08-06-2017 at 01:48 AM. |
|
![]() |
![]() |
![]() |
#10 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
An easy thing to experimentally test. Add, say, a 100k JPEG file to your ePub book and then re-convert it. If the images are shared between Mobi7 and KF8, the size of the resulting Mobi file will increase by 100k; if it's not shared, it'll increase by 200k.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Loading a png file | dragon123 | Kindle Developer's Corner | 1 | 12-06-2013 12:22 PM |
Conversion to jpeg/png | Fallingwater | Calibre | 4 | 07-31-2013 08:15 AM |
ERROR: ... .png | saytionne | ePub | 17 | 10-04-2010 07:13 PM |
hotlinking png image | bobcdy | Sigil | 21 | 09-21-2010 04:56 AM |
where to get autorun.xml, icon.png, key.png, lut.bin for PRS-505 | obender | Sony Reader Dev Corner | 2 | 01-25-2009 03:20 PM |