05-16-2013, 10:59 AM | #1 |
Browser
Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
|
Best graphics formats?
Do ebook readers generally support SVG format?
I generally stick with JPG, but how safe would I be with PNG or SVG? |
05-16-2013, 11:51 AM | #2 | |
Wizard
Posts: 1,528
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Hi MacEachaidh;
I think the following post can help you: https://www.mobileread.com/forums/sho...5&postcount=44 Of course, you can play with the atributes "widht", "height" "viewBox" and "preserveAspectRatio" Quote:
Regards Rubén |
|
05-16-2013, 02:16 PM | #3 |
Browser
Posts: 745
Karma: 578294
Join Date: Apr 2010
Location: Australia
Device: Kobo Touch, Kobo Aura HD
|
Hi Rubén
Thanks for the link, very useful indeed. But I was genuinely asking about SVG. |
05-16-2013, 03:25 PM | #4 |
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
|
SVG is required for ePub 2 according to the specification. In practice it seems to be available in most readers.
Dale |
05-16-2013, 04:11 PM | #5 | |
A Hairy Wizard
Posts: 3,067
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
The specification requires all ePub2 compliant devices to support the SVG format - most of them do. This does not mean YOU are required to use SVG in your ePub. |
|
05-16-2013, 04:59 PM | #6 | |
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 |
|
05-17-2013, 01:59 AM | #7 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Also be aware that not the full spec of SVG is supported. Some things will not work. What should be supported is in the specifications at IDPF.
Most of the basic stuff will work. |
05-17-2013, 05:32 PM | #8 | |
Wizard
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
JPEG is an excellent format to use for photographic images that include a full range of tones and colors. It is not at its best when used for simple line art. SVG is good for line art but can't do photographic images other than being a container for a JPEG or PNG. It is a vector format (SVG = Small Vector Graphic) and not a bitmap format. PNG is an extremely plastic format and as a result most (>90%) of the info you'll find on this site is inaccurate due to omissions in the discussion (generally, things are claimed for the PNG format overall when they only apply to a few of the many ways a PNG can be built). PNG can use a wide range of bit depths and can use a variety of compression methods (lossy JPEG-like, lossless, and none). As a result, if you use the right tool to create the PNG and make the right choices in generating the final PNG it can be as good as any other bitmat format for almost any use. At low bit depths and with a lossless or no compression it can deliver compact clean line art in much the same was as the GIF format can. At high bit depths (e.g. 24bit) it can do excellent photographic images which can be compressed rather well if you choose the compression settings wisely. Last edited by dwig; 05-17-2013 at 05:34 PM. |
|
05-21-2013, 11:09 PM | #9 |
Enthusiast
Posts: 48
Karma: 10
Join Date: Aug 2011
Device: Ipad
|
I would add that GIF could be preferable over PNG if you are going to make a ePub and Kindle version. KindleGen converts PNG to GIF. If you manually optimize your line art to reduce file size I think GIF would be ideal so KindleGen won't do any re-optimizing on it.
|
05-22-2013, 03:17 AM | #10 |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
But GIF supports only 256 (indexed) colors and 1-bit transparency, while PNG supports full 24-bit colors and 8-bit transparency (which means partially transparent pixels). So, if those features are important, stick to PNG.
Besides, I seem to remember the ePub spec supports PNG but not GIF. |
05-22-2013, 07:18 AM | #11 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Us old timers are less familiar with PNG and remember wondering if it were still going to be around... Gotta look at the settings, since most of my PNGs that come into epubs are gigantic, so need to be resaved. Irfanview should be able bulk convert them down to something less gigantic.
|
05-22-2013, 08:39 AM | #12 |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Of course, if you save a photograph as a PNG, it will be gigantic, but it will probably be lossless. PNG is good for the things GIF is good, only it's better
|
05-22-2013, 10:44 AM | #13 |
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
|
|
05-22-2013, 02:12 PM | #14 |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
05-22-2013, 02:26 PM | #15 |
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
|
I wonder if Gimp is using the fully expanded true color table in the style of jpg or the mapped color table pallet in the style of gif. And if mapped how many bits it is using for the map.
Dale |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
No supported formats (Available formats: 0) (epub)) | luta | Calibre | 2 | 04-27-2013 10:50 AM |
Problems with graphics | SoonerJim | Writer2ePub | 3 | 05-06-2011 11:53 AM |
graphics glitches - new for me | alexxx | Calibre | 7 | 12-16-2010 04:21 AM |
Convert Epub and Msreader formats to Kindle formats | bruc79 | Calibre | 17 | 06-22-2010 04:50 AM |
Computer Graphics Novel for $1.99 | roller_coaster | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 03-17-2010 11:15 AM |