Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-03-2009, 11:08 AM   #1
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 31,707
Karma: 87823216
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
ePub, ADE and Images puzzle

Another puzzle. This time involving images.

Here's a sample ePub. It includes four images. ADE will display the first and last image, but not the two middle images. It seems to be tied to the image - I have fifteen similar images, and it's only these two that ADE won't display.

It must be something to do with the image, but I can't spot what the difference is. Does anyone have any bright ideas?
Attached Files
File Type: epub imageTest.epub (235.0 KB, 104 views)
pdurrant is offline   Reply With Quote
Old 09-03-2009, 12:33 PM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,147
Karma: 4792399
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Sorry, no idea there...

So, if you change the order to 2, 1, 4, 3... are images 2 and 3 still not shown? or is it now the middle ones (1 and 4)? The only mildly significant different I can find between the images is the jpeg quality:

1: Quality: 90
2: Quality: 95
3: Quality: 94
4: Quality: 96

But I don't see a reason why quality 95 and 94 would not work and 90 and 96 would... Can you try storing all the images with the same quality or altering the sizes a few pixels?
Jellby is offline   Reply With Quote
Old 09-03-2009, 01:06 PM   #3
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 31,707
Karma: 87823216
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Yes, if the order is changed to be 2,1,4,3, then images 2 and 3 are still not displayed.

I have re-converted the images a couple of times now (once to fix a CMYK->RGB conversion problme and once to fix a trim problem).

On the first re-conversion only one completely different image didn't work. On the second reconversion, one of the non-working images here again didn't work.

I'm mystified. I'll probably just tweak the images until they show up, but I'd be much happier knowing why.

I suppose I could submit it as a bug report to Adobe.... if only they were as responsive as Valloric!

Quote:
Originally Posted by Jellby View Post
Sorry, no idea there...

So, if you change the order to 2, 1, 4, 3... are images 2 and 3 still not shown? or is it now the middle ones (1 and 4)? The only mildly significant different I can find between the images is the jpeg quality:

1: Quality: 90
2: Quality: 95
3: Quality: 94
4: Quality: 96

But I don't see a reason why quality 95 and 94 would not work and 90 and 96 would... Can you try storing all the images with the same quality or altering the sizes a few pixels?
pdurrant is offline   Reply With Quote
Old 09-03-2009, 01:37 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,923
Karma: 5035037
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
IIRC ADE has a bug that prevents it from displaying certain JPEG files. For example in calibre I found that JPEG files output by the Python Imaging library would often not display in ADE, while the same file if re-converted and output using Qt would.
kovidgoyal is online now   Reply With Quote
Old 09-03-2009, 01:39 PM   #5
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 31,707
Karma: 87823216
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
I'm pleased to hear it's not just me, sort-of.

It sounds as if my best bet is to convert the images as well as I can, and then do invisible tweaks to any files that don't display until they do display. Ughh...


Quote:
Originally Posted by kovidgoyal View Post
IIRC ADE has a bug that prevents it from displaying certain JPEG files. For example in calibre I found that JPEG files output by the Python Imaging library would often not display in ADE, while the same file if re-converted and output using Qt would.
pdurrant is offline   Reply With Quote
Old 09-03-2009, 03:54 PM   #6
Ankh
Guru
Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.
 
Ankh's Avatar
 
Posts: 708
Karma: 2003741
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Touch
Quote:
Originally Posted by pdurrant View Post
It sounds as if my best bet is to convert the images as well as I can, and then do invisible tweaks to any files that don't display until they do display. Ughh...
For some odd reason, this is very easy with GIMP, load the image, "save as->jpeg", it always works. Have no idea what is that GIMP fixes, but ADE never has problems after this "fix".

I had problems only with jpeg images.
Ankh is offline   Reply With Quote
Old 09-03-2009, 10:28 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,044
Karma: 18147936
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
I re-saved the images using Photoshop and all display fine now in ADE for Windows.
Attached Files
File Type: epub imageTest.epub (150.9 KB, 94 views)
JSWolf is online now   Reply With Quote
Old 09-03-2009, 11:30 PM   #8
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Always remember, IrfanView is your friend!

I re-saved just images 2 and 3 (quality: 95) and it now works, like JSWolf's solution.

I sometimes have the same problem when converting .prc/.epub ebooks to .imp as the eBook Publisher software I use cannot read some .jpeg's as well. I've never understood why, but just re-saving them with IrfanView has ALWAYS worked for me.

When I wrote my Mobi2IMP conversion software in Perl, I used GD::Image tools to just resave the images extracted from .prc/.mobi ebooks and used those to produce the .imp ebook conversion. Again ALWAYS worked for me!
Attached Files
File Type: epub imageTest.epub (233.7 KB, 87 views)

Last edited by nrapallo; 09-03-2009 at 11:32 PM.
nrapallo is offline   Reply With Quote
Old 09-04-2009, 05:15 AM   #9
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,147
Karma: 4792399
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Of course, you all know re-saving a JPG image as JPG again will only reduce the quality (even if you save it with a higher "quality" setting), so this should be done with the starting source images (either scanned, or large JPGs, or whatever).
Jellby is offline   Reply With Quote
Old 09-04-2009, 11:56 AM   #10
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,978
Karma: 350515
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by JSWolf View Post
I re-saved the images using Photoshop and all display fine now in ADE for Windows.
It would be funny if JPEG images produced by Photoshop would fail in ADE... in a frightening sort of way.
Valloric is offline   Reply With Quote
Old 09-05-2009, 09:45 AM   #11
Ankh
Guru
Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.
 
Ankh's Avatar
 
Posts: 708
Karma: 2003741
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Touch
Quote:
Originally Posted by Jellby View Post
Of course, you all know re-saving a JPG image as JPG again will only reduce the quality (even if you save it with a higher "quality" setting), so this should be done with the starting source images (either scanned, or large JPGs, or whatever).
True, but it opens up a question of how far we are ready to go with the quality of raster images?

The current technology for screens of dedicated reader devices is what it is. On 600x800 eInk screens, the loss is negligible. For those who read ePubs on computer screens, the situation is quite different.

Now, considering the perfectly probable emergence of high-resolution, full-colour screens for mobile devices a decade from now, do you go with the maximum resolution (and quality) for materials that you scan, future-proofing your publication? Lossless compression?
Ankh is offline   Reply With Quote
Old 09-05-2009, 10:02 AM   #12
UniversalisPub
Publisher
UniversalisPub began at the beginning.
 
UniversalisPub's Avatar
 
Posts: 8
Karma: 10
Join Date: Jul 2009
Device: none
Quote:
Originally Posted by Ankh View Post
Now, considering the perfectly probable emergence of high-resolution, full-colour screens for mobile devices a decade from now, do you go with the maximum resolution (and quality) for materials that you scan, future-proofing your publication? Lossless compression?
And how do you deal with the problem of a 10KB ebook that grows to 100KB just because you've put a cover image into it? A cover image is, after all, purely ornamental and has no semantic value.

I suspect that a more radical solution will have to be found in the end. We might end up including lo-res images in the ePub itself, with links to high-quality ones. Some sort of intelligent loader could then replace the images if the ePub were being loaded into a high-resolution device.
UniversalisPub is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Spacing in ePub in ADE ngbabu ePub 2 06-12-2010 07:47 PM
ADE Epub on B and N jncrft Astak EZReader 7 03-30-2010 06:18 PM
Coolreader vs ADE for epub.... kdf9511 Astak EZReader 7 03-17-2010 08:06 PM
epub, ADE and CSS puzzle pdurrant ePub 3 09-03-2009 01:07 PM
Mobi vs EPUB/ADE Auron Which one should I buy? 25 12-31-2008 02:06 AM


All times are GMT -4. The time now is 12:21 PM.


MobileRead.com is a privately owned, operated and funded community.