Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 10-21-2013, 07:46 PM   #1
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,633
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Zip to CBZ 'conversion'

If I create a zip with the following content

cb0001.jpg
cb0001_001.jpg
cb0001_002.jpg
...
cb0001_173.jpg

And then add it to calibre I get a CBZ with cb0001.jpg as the cover - good

If I create a zip from the same images with the following file names

cb0001.jpg
cb0001-001.jpg
cb0001-002.jpg
...
cb0001-173.jpg

And then add it to calibre I get a CBZ with cb0001-001.jpg as the cover - bad

Its a trivial issue, but I'm wondering why it happens. Is there something special about having a '-' rather than a '_'.

BR
BetterRed is online now   Reply With Quote
Old 10-21-2013, 11:30 PM   #2
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: 45,198
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Two words: lexical sorting

IIRC the code takes the "first" file as the cover as sorted via simple lexical sort.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-22-2013, 02:23 AM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,633
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Of course, a dot comes after a dash

I was hoping for a secret I could exploit to do the unusual.

BR
BetterRed is online now   Reply With Quote
Old 10-22-2013, 07:31 AM   #4
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Well, you can use the idea to force specific sorting order of elements within archives (ZIP, RAR, CBZ, CBR, etc) as a type of suffixing, but that is about it. This can be helpful if you don't like to use an artificial page numbering scheme to maintain logical display order for unnumbered elements (outside cover, inside cover, flaps, frontispiece, the bookmark/poster/map/whatever that came with the book, etc).

Of course, you could just use numeric prefixing instead to force a specific display order of elements, without relying on ASCII order.
Sabardeyn is offline   Reply With Quote
Old 10-22-2013, 09:26 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,633
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@saberdeyn - actually the '-' was my fat finger mistake, I use '_' as the separator between comic book name and image sequence number, not sure why I do that. Sometimes I put a '!' in the front of the image file name I want as the cover, on this occasion I didn't.

I forgot that the complete file name including extension is used, not just the name part. Should have remembered because the other day I got caught by some rogue psp files that inveigled there way into a folder.

br
BetterRed is online now   Reply With Quote
Advert
Old 10-22-2013, 06:35 PM   #6
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
For the same reason that I have been using a scheme like:
Code:
Comic Name Here__--__v001__c001__p001.ext
(the underscores are spaces). It helps to organize the display and to create a columnar listing of info when looking at a file directory. Missing or incorrect naming or numbering issues become obvious.

I've recently taken a look at ComicRack and ComicTagger, considering the possibility of adding new fields and/or tagging schemes to account for serial publications. The only problem I see with both those programs is that they're focused on Series Name which doesn't always work with books because book series can be nested in each other. I do like how they're differentiating between Series and Story names though.

On the other hand, I've noticed that calibre is reliant on book titles, not story titles, which makes dealing with omnibus, anthologies, magazines and other multiple story publications a bit awkward to deal with. Requiring either the publication be exploded (separate entries in the database) or including a ToC in the comments field. Neither option being particularly graceful.
Sabardeyn is offline   Reply With Quote
Old 10-22-2013, 09:52 PM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,633
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
The comics are destined to be used on a couple toddlers iPads - I doubt they're up to Comic Book Rack etc.

They're scans of a mates vintage comic book collection, some of which he inherited from his Dad and maybe even his Granddad. He doesn't know I'm scanning them, because he's over in Tarin Kowt. He'll be home by Christmas, so the idea is that he can give them to his kids etc etc.

What do I get - a hug and maybe a kite to fly.

BR
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comic Converter for PDF, CBZ, CBR, ZIP, RAR, PPT, PPTX jontylovell Deals and Resources (No Self-Promotion or Affiliate Links) 10 04-23-2020 06:59 PM
.zip / .rar with .jpegs - added automatically as .cbr / .cbz files Joanna Calibre 2 04-21-2012 05:08 PM
.cbz conversion hangs roguesith Conversion 5 12-10-2011 03:14 AM
PRS-650 CBZ, CBR, ZIP or RAR file support? Renji Sony Reader Dev Corner 4 12-01-2010 08:43 AM
Having a problem with CBR/CBZ conversion curtw Calibre 5 10-03-2008 03:11 AM


All times are GMT -4. The time now is 07:31 AM.


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