Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-25-2016, 12:22 PM   #1
jedson303
Member
jedson303 began at the beginning.
 
jedson303's Avatar
 
Posts: 19
Karma: 20
Join Date: May 2013
Device: Android
troubles with tiff files

I am using Calibre to create an e-book that has quite a few images. A lot of the files were very high resolution tiffs. I ran into a problem trying to use tiff images, even when I changed them to jpgs or pngs. Sometimes they would simply not load at all. But the biggest problem is that they did not interact with frames in the normal way, which made laying them out with captions almost impossible.
jedson303 is offline   Reply With Quote
Old 08-26-2016, 06:20 PM   #2
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Maybe you could provide a bit more detail, e.g. some sample code, size of image files, what format book you are creating etc. What do you mean by images not interacting with frames in the normal way? I have never used frames in an eBook so I'm not sure how you expect them to interact.
Agama is offline   Reply With Quote
Advert
Old 08-27-2016, 10:48 AM   #3
jedson303
Member
jedson303 began at the beginning.
 
jedson303's Avatar
 
Posts: 19
Karma: 20
Join Date: May 2013
Device: Android
I appreciate your responding. I'll try to answer your questions as briefly as possible. I don't create my own coding. I am using Calibre to create an e-book in e-pub format for a friend. I use the reader that comes with Calibre. I also use the e-book reader that is a plug-in for Foxfire, just to check how another reader will display the book. I reduce the image files to 72ppi, and use either jpg or png formats. I use Gimp (for the most part) to edit the images I use. However, I used Image Magic to change the tifs to jpgs. Also had a friend try Photoshop (thinking it might handle the change from 4 color to 3 color better.)
I have created a number of books in e-pub format, using Calibre, and they all turn out more than fine. But this is the first one that has so many images.
In Calibre, when you are using their “caption” function, it creates a frame to hold the caption. The caption is then with the image, inside the frame. With a good image, you can make slight adjustments to the size of the frame and the image to get the amount to space you want between the two etc. When it words it is very nice. You can get the image with a caption to display just where you want it to, with the appearance you want. When I try to do this using a tif file, the size of the image does not seem to be what my Gimp says it should be. The frame comes out way too big for the image. If I have a clean jpg, I do not have this problem. I seems that even having been in a tif formate creates a faulty jpg. One that does not display at all, or does quirky things in relation to the frame.
So, unless, I am just doing something wrong, it would seem either that there is something special about how Calibre uses tif files, or that the files are getting corrupted when the are changed from tif to jpg.
I am a little over my head here, which is why I am here, really. Hope this answers your questions.
jedson303 is offline   Reply With Quote
Old 08-27-2016, 11:42 AM   #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: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Caption Function??

Is this in a User Plugin? It is not an obvious part of the ebook-editor if it is there.
Since Calibre is continually evolving, it is quite possible I missed a feature (that I would seldom need to use).

I think the General suggestion when folk need to insert a caption into an image, is to use a 3rd party Image editor like Gimp or Paintshop Pro
theducks is offline   Reply With Quote
Old 08-27-2016, 05:42 PM   #5
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Quote:
Originally Posted by jedson303 View Post
But the biggest problem is that they did not interact with frames in the normal way, which made laying them out with captions almost impossible.
I've not come across the caption function in calibre either. I thought that you were using <frame> tags in the xhtml file, which set my thinking in the wrong direction completely.

As theducks says, I would add captions to images via image editing in Gimp, paint.net or IrfanView. All these have no problem converting tiff to jpg or png which, in my limited experience, are more common formats than tiff in eBooks.

Last edited by Agama; 08-27-2016 at 05:48 PM.
Agama is offline   Reply With Quote
Advert
Old 08-27-2016, 05:58 PM   #6
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,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
Caption Function??

Is this in a User Plugin? It is not an obvious part of the ebook-editor if it is there.
Since Calibre is continually evolving, it is quite possible I missed a feature
I think SVG Warpers support Captions - maybe that's what the OP is referring to.

Sigil has an option to create an empty SVG wrapper, not sure about the calibre editor.

@jedson303 - there are a number of threads on this issue in the ePub Forum Considerable discussion amongst the bookmaker illuminati here ==>> Need Example SVG wrapper including caption


BR

Last edited by BetterRed; 08-27-2016 at 06:16 PM.
BetterRed is offline   Reply With Quote
Old 08-28-2016, 06:35 AM   #7
jedson303
Member
jedson303 began at the beginning.
 
jedson303's Avatar
 
Posts: 19
Karma: 20
Join Date: May 2013
Device: Android
I'm using Calibre 1.25, out of the box, so to speak. As it came with my Mint platform. I did not access any add-ons or modify it in any way. However, I think I misunderstood where the caption option was coming from. When I go back and forth between the e-pub version, and the LibreOffice version (as Calibre is set up to do) the captions option comes up under the LibreOffice version, and is then integrated into the e-pub version. If my misunderstanding created confusion, you have my apologies. Yes, I can use Gimp to create captions built into the image, and that is probably what I will do. However, the caption option I was using was quick and easy and versatile. When I used simple png or jpg files, it seemed to work quick well. However, when the viewing level was increased, these frames would not stay in place. If such an option could be created in Calibre, one that really worked, it would be nice. I'll check out the links that BetterRed provided.
jedson303 is offline   Reply With Quote
Old 08-28-2016, 10:19 AM   #8
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: 79,398
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
You should update your version of Calibre as what you have is old. Then try again and if you still have a problem, then post about it.
JSWolf is offline   Reply With Quote
Old 08-28-2016, 11:02 AM   #9
jedson303
Member
jedson303 began at the beginning.
 
jedson303's Avatar
 
Posts: 19
Karma: 20
Join Date: May 2013
Device: Android
Thanks JSWolf. I'll do what you suggest, and see what happens. You guys have been very helpful. I have a much clearer picture of what was happening now.
jedson303 is offline   Reply With Quote
Old 08-28-2016, 11:09 AM   #10
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: 79,398
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The current version of Calibre is 2.65.1.
JSWolf is offline   Reply With Quote
Old 09-02-2016, 10:20 AM   #11
jedson303
Member
jedson303 began at the beginning.
 
jedson303's Avatar
 
Posts: 19
Karma: 20
Join Date: May 2013
Device: Android
Thanks for the info. I'll download it. I am updated, and understand much better how the whole image thing works now. The project is coming along quite well.
jim
jedson303 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Request Ability to read tiff images in ereader aidren enTourage Archive 2 05-15-2010 07:39 PM
Three things: Djvu, Tiff, Rtf Kellhus Which one should I buy? 2 12-03-2009 04:42 PM
some troubles with Calibre and DR Floeee Calibre 15 09-17-2009 07:25 AM
Mobi2html troubles whitearrow Kindle Formats 8 07-19-2009 07:41 PM
PDF troubles coldcell Workshop 5 01-30-2008 01:09 AM


All times are GMT -4. The time now is 11:17 AM.


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