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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-18-2018, 07:46 AM   #1
rjwse@aol.com
Connoisseur
rjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud of
 
Posts: 63
Karma: 27138
Join Date: Dec 2013
Location: Houston
Device: kindle epub readers on android
numerically rename images AND reorder numbers

Some user manuals may require close to 300 low resolution images in the epub file. There is a provision in the editor to "bulk rename" these images with (or without) a prefix. The simplest naming would be along the lines of "1.png, 2.png, etc. Most often these images are added into the epub such that their order in the book is not numerical. The first image may be 112.png. The second image may be 8.png. And so one. I was wondering if there is a provision to reorder the numbers into correct sequence.
Best regards, Pop
rjwse@aol.com is offline   Reply With Quote
Old 04-18-2018, 11:54 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,881
Karma: 22086754
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
Hmmm
You can sort 'Text', but not Images (same for Sigil? )

BTW
Make sure you use leading enough 0's to pad the single digits to the same places that the highest number has. because this is an Alpha Sort, not Numeric


I like to rename Chapter Number Images to Match their number
theducks is offline   Reply With Quote
Old 04-18-2018, 12:42 PM   #3
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: 33,214
Karma: 10205092
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you mean number the images automatically in the order in which they appear int he book, no there is no such tool.
kovidgoyal is offline   Reply With Quote
Old 04-18-2018, 01:37 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,881
Karma: 22086754
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
Hey Kovid,
You can Edit delete (image) files from REPORTS.

How about allow a rename (that makes the same kind of adjustment as the file browser). Report shows you a thumbnail, so it might be enough to see for naming. Edit Image is the other choice, if the user needs to see a bigger view

I realize this is not the bulk rename the OP asked for, but it might help speed things up.
theducks is offline   Reply With Quote
Old 04-18-2018, 01:48 PM   #5
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: 33,214
Karma: 10205092
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@theducks: Cant you do the same thing by just double clicking on the image in the file browser to view it, then renaming as needed?
kovidgoyal is offline   Reply With Quote
Old 04-18-2018, 02:47 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,881
Karma: 22086754
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
Quote:
Originally Posted by kovidgoyal View Post
@theducks: Cant you do the same thing by just double clicking on the image in the file browser to view it, then renaming as needed?
Yes, but it is slower since you need to open every image to see what to name it.
In reports, there are thumbs in a list, so you can just walk the list.

I am not sure how some publishers decided to name them in the first place (note: some have a very clear name), as they seem random.
The other way, is to Unpack the book, rename using the OS (file tools)
, then repair the book errors in the editor.
theducks is offline   Reply With Quote
Old 04-19-2018, 01:03 AM   #7
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: 33,214
Karma: 10205092
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...57e4dcaa351b1c
kovidgoyal is offline   Reply With Quote
Old 04-19-2018, 02:19 AM   #8
jbacelar
Interested in the matter
jbacelar composes epic poetry in binary.jbacelar composes epic poetry in binary.jbacelar composes epic poetry in binary.jbacelar composes epic poetry in binary.jbacelar composes epic poetry in binary.jbacelar composes epic poetry in binary.jbacelar composes epic poetry in binary.jbacelar composes epic poetry in binary.jbacelar composes epic poetry in binary.jbacelar composes epic poetry in binary.jbacelar composes epic poetry in binary.
 
jbacelar's Avatar
 
Posts: 248
Karma: 90454
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook Touch HD
Thumbs up

jbacelar is offline   Reply With Quote
Old 04-19-2018, 03:03 AM   #9
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,292
Karma: 2385865
Join Date: Jan 2009
Device: Kindle PW3 (wifi)


This can be very useful at times. Excellent idea.

Last edited by roger64; 04-19-2018 at 03:06 AM. Reason: correction
roger64 is offline   Reply With Quote
Old 04-19-2018, 10:14 AM   #10
phossler
Guru
phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.phossler can grok the meaning of the universe.
 
Posts: 767
Karma: 156340
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
Will be handy

If an image is used in multiple places, does it 'sort' to the first instance?
phossler is offline   Reply With Quote
Old 04-19-2018, 10:26 AM   #11
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: 33,214
Karma: 10205092
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by phossler View Post
Will be handy

If an image is used in multiple places, does it 'sort' to the first instance?
yes .
kovidgoyal is offline   Reply With Quote
Old 04-19-2018, 11:28 AM   #12
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,881
Karma: 22086754
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
Wow! Thank you.
theducks is offline   Reply With Quote
Old 05-24-2018, 08:09 AM   #13
rjwse@aol.com
Connoisseur
rjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud ofrjwse@aol.com has much to be proud of
 
Posts: 63
Karma: 27138
Join Date: Dec 2013
Location: Houston
Device: kindle epub readers on android
This is a wonderful feature. I have gone through several books and reordered and renamed the images. When reordering the images in the list according to how they appear in the book is there a way to just reorder them and not also rename them? I have made a youTube video describing how to use this new feature.
https://www.youtube.com/watch?v=QsdllGy6400
I cannot thank you enough for adding this.
Best regards, Pop
rjwse@aol.com is offline   Reply With Quote
Old 05-24-2018, 09:11 AM   #14
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: 33,214
Karma: 10205092
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
you're welcome and no I'm afraid there is no way to re-order without also renaming them
kovidgoyal is offline   Reply With Quote
Old 05-24-2018, 02:07 PM   #15
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 1,009
Karma: 5860817
Join Date: Jul 2012
Device: Nook
Absolutely fantastic feature. Great job Kovid (and everyone else for coming up with the concept).

Could definitely see this being helpful in quite a few books, especially when merging things from all different sources.

Last edited by Tex2002ans; 05-24-2018 at 02:46 PM.
Tex2002ans 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
Numerically sort custom column? Vortex Library Management 3 06-23-2016 01:04 PM
can't reorder books in browser Alan G Sigil 2 08-27-2013 05:43 AM
composite custom columns sorted numerically Doug-W Library Management 2 02-18-2011 02:16 AM
Should I Cancel 3G and Reorder wi-fi Only? jezebel Amazon Kindle 20 09-04-2010 04:06 PM


All times are GMT -4. The time now is 08:22 AM.


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