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

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 07-15-2014, 03:35 PM   #916
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,267
Karma: 42123822
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Does anybody have know of any free/cheap kindle books that have HD images for testing purposes? I've not come across any yet through my normal reading/purchasing.
DiapDealer is offline   Reply With Quote
Old 07-15-2014, 04:38 PM   #917
KevinH
Guru
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 953
Karma: 410248
Join Date: Nov 2009
Device: many
Hi,

Check out the HD Image test files tkeo posted here:

http://www.mobileread.com/forums/sho...&postcount=779

Also a few posts earlier than that there was a Doormouse test case that had them as well (when we were fixing the split bug that lost mobi 8 images)

http://www.mobileread.com/forums/sho...&postcount=740

Not sure if the link in that post is still active or not.
KevinH

Last edited by KevinH; 07-15-2014 at 04:41 PM.
KevinH is offline   Reply With Quote
Old 07-16-2014, 01:14 AM   #918
AaronShep
Member
AaronShep began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Dec 2011
Device: iPad
Quote:
Originally Posted by DiapDealer View Post
Does anybody have know of any free/cheap kindle books that have HD images for testing purposes? I've not come across any yet through my normal reading/purchasing.
I'm not sure what qualifies as an HD image, but my book "Baking with Cookie Molds" is 99 cents and has about 75 photos that are 864 x 1296, with a few smaller or larger.
AaronShep is offline   Reply With Quote
Old 07-16-2014, 12:38 PM   #919
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,967
Karma: 4501011
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
@DiapDealer: Alternatively, I've just randomly fed an ePub that happened to have large images to KG 2.9, and bam, HDContainer .
NiLuJe is offline   Reply With Quote
Old 07-16-2014, 11:12 PM   #920
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: 26,124
Karma: 5101571
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
FYI, I finished reversing the full CONT record yesterday (apart from a couple of fields that are always zero and one in all the files I have seen). Feel free to pinch my work.

I also dont know what the bytes 4-12 in the CRES records are as they seem to always be 0000 000C
kovidgoyal is online now   Reply With Quote
Old 07-17-2014, 08:04 AM   #921
KevinH
Guru
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 953
Karma: 410248
Join Date: Nov 2009
Device: many
Hi Kovid,

Wonderful! Thanks. I will grab and integrate what I can into the next stable release. Luckily we don't ever have to write Kf8 files like Calibre does!

Take care,
Kevin


Edit: I grabbed calibre/src/calibre/ebooks/mobi/debug/containers.py to look at and that will be a big help in decoding the CONT header values actually mean! Thanks!


Quote:
Originally Posted by kovidgoyal View Post
FYI, I finished reversing the full CONT record yesterday (apart from a couple of fields that are always zero and one in all the files I have seen). Feel free to pinch my work.

I also dont know what the bytes 4-12 in the CRES records are as they seem to always be 0000 000C

Last edited by KevinH; 07-17-2014 at 09:59 AM.
KevinH is offline   Reply With Quote
Old 07-17-2014, 08:48 AM   #922
tkeo
Connoisseur
tkeo began at the beginning.
 
Posts: 86
Karma: 10
Join Date: Feb 2014
Location: Japan
Device: Kindle PaperWhite, Kobo Aura HD
Hi,

It seems kindlegen.exe cannot set EXTH 508,512 and 522.
I also find that Furigana input fields exist in "Enter Your Book Details" page of KDP in amazon.co.jp, but not in amazon.com.

Thanks,
tkeo is offline   Reply With Quote
Old 07-17-2014, 10:05 AM   #923
KevinH
Guru
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 953
Karma: 410248
Join Date: Nov 2009
Device: many
Hi tkeo,

There are lots of EXTH values that can never be set by kindlegen but still exist in commercial ebooks produced by Amazon. Most but not all of these relate to DRM, text to speech settings, text clipping, the "watermark", the "tamperproof" keys, etc. So I am okay with decoding what these mean and using what we can to recreate the original epub as closely as possible. It just means that passing it back through kindlegen will not recreate the original as it has no way to set these extra MetaData.

I am thinking of writing a full metadata editor in python to allow full editing of metadata items in the mobi 6, mobi 8 and now container headers. I will base it off an improved version of the dual meta editor code along with the new information on all of the possible exth values.

That way people can augment the output of kindlgen with all of the known metadata without having to pass it through KDP or whatever else Amazon is doing now.

Take care,

Kevin



Quote:
Originally Posted by tkeo View Post
Hi,

It seems kindlegen.exe cannot set EXTH 508,512 and 522.
I also find that Furigana input fields exist in "Enter Your Book Details" page of KDP in amazon.co.jp, but not in amazon.com.

Thanks,
KevinH is offline   Reply With Quote
Old 07-17-2014, 10:13 AM   #924
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,682
Karma: 18475502
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by NiLuJe View Post
@DiapDealer: Alternatively, I've just randomly fed an ePub that happened to have large images to KG 2.9, and bam, HDContainer .
I fed Kindlegen Words of Radiance by Brandon Sanderson and because it has large high resolution images, the resulting combo file does have HD images.

I did find one bug. in 0.73 with HDImages. If HDImages exist and you do not check to use them, you get a directory called HDImages with the HDImages. But if you check to use HD images and they exist, you get the HDImages directory, but it is empty. Even when there are no HD images present, the HDImages directory is created and empty.
JSWolf is offline   Reply With Quote
Old 07-17-2014, 11:06 AM   #925
KevinH
Guru
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 953
Karma: 410248
Join Date: Nov 2009
Device: many
Hi,

Yes, that is as designed. There are directories in the output tree for all possibilities for mobi 8.

Why do you consider that a bug? If there are no HDImages you can see that as the directory is empty. If there are HDImages then they will be placed there unless you tell KindleUnpack to instead use them to replace their lower resolution versions.

I consider that a "feature!". ;-)

KevinH



Quote:
Originally Posted by JSWolf View Post
I fed Kindlegen Words of Radiance by Brandon Sanderson and because it has large high resolution images, the resulting combo file does have HD images.

I did find one bug. in 0.73 with HDImages. If HDImages exist and you do not check to use them, you get a directory called HDImages with the HDImages. But if you check to use HD images and they exist, you get the HDImages directory, but it is empty. Even when there are no HD images present, the HDImages directory is created and empty.
KevinH is offline   Reply With Quote
Old 07-17-2014, 01:14 PM   #926
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,267
Karma: 42123822
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
Why do you consider that a bug? If there are no HDImages you can see that as the directory is empty. If there are HDImages then they will be placed there unless you tell KindleUnpack to instead use them to replace their lower resolution versions.
Jon sometimes confuses "bug" with "I don't want it to work that way."

J/K Jon.
DiapDealer is offline   Reply With Quote
Old 07-22-2014, 08:19 AM   #927
tkeo
Connoisseur
tkeo began at the beginning.
 
Posts: 86
Karma: 10
Join Date: Feb 2014
Location: Japan
Device: Kindle PaperWhite, Kobo Aura HD
Hi Kevin,
Quote:
Originally Posted by KevinH View Post
I am thinking of writing a full metadata editor in python to allow full editing of metadata items in the mobi 6, mobi 8 and now container headers. I will base it off an improved version of the dual meta editor code along with the new information on all of the possible exth values.
It is good if the full metadata editor is available.

I am now updating (very slowly though) the processing of RESC to separate metadata into for epub2 and for epub3, and of EXTH 508,512 and 522.

As for adding refine attribute from EXTH 508,512 and 522.
It is difficult to find correspondence between Titles, Creators, Publishers and EXTH 508,512, 522 if they have more than two values since KDP seems not preserve the oders of EXTH 508,512 and 522. So editing manually is required as you mentioned before.

Take care,
tkeo

Last edited by tkeo; 07-22-2014 at 08:54 AM. Reason: fixed typo.
tkeo is offline   Reply With Quote
Old 07-22-2014, 08:23 PM   #928
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,682
Karma: 18475502
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by KevinH View Post
Hi,

Yes, that is as designed. There are directories in the output tree for all possibilities for mobi 8.

Why do you consider that a bug? If there are no HDImages you can see that as the directory is empty. If there are HDImages then they will be placed there unless you tell KindleUnpack to instead use them to replace their lower resolution versions.

I consider that a "feature!". ;-)

KevinH
One of those "its a bug, but since I don't want to fix it, it's now a feature".
JSWolf is offline   Reply With Quote
Old 07-23-2014, 11:10 AM   #929
KevinH
Guru
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 953
Karma: 410248
Join Date: Nov 2009
Device: many
Nope, it is "as designed" so it is a feature, not a bug. Please reread my comments about how it is meant to be used and what information it carries.

Quote:
Originally Posted by JSWolf View Post
One of those "its a bug, but since I don't want to fix it, it's now a feature".
KevinH is offline   Reply With Quote
Old 07-24-2014, 03:30 PM   #930
davidnwelton
Member
davidnwelton began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jul 2011
Location: Padova, Italy
Device: Kindle
I am sorry to butt in, but I was just curious if you guys had considered putting the source code for mobiunpack up on github or something like that that makes it easier to collaborate on.

Thanks
davidnwelton 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
Can i rotate text and insert images in Mobi and EPUB? JanGLi Kindle Formats 5 02-02-2013 04:16 PM
PDF to Mobi with text and images pocketsprocket Kindle Formats 7 05-21-2012 07:06 AM
Mobi files - images DWC Introduce Yourself 5 07-06-2011 01:43 AM
pdf to mobi... creating images rather than text Dumhed Calibre 5 11-06-2010 12:08 PM
Transfer of images on text files anirudh215 PDF 2 06-22-2009 09:28 AM


All times are GMT -4. The time now is 04:02 AM.


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