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 02-02-2021, 07:17 PM   #16
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,220
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by piyarad27 View Post
Here is how it look with 200% (P6) and on the zoom of 6400%(p6.2) this is the code that I use

P.S I don't want the white part because I' bit OCD or perfectionist
Given the PDF is a page oriented format, perhaps you are seeing a margin placed between the pages.
DNSB is offline   Reply With Quote
Old 02-02-2021, 08:50 PM   #17
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
remove the div.
kovidgoyal is offline   Reply With Quote
Old 02-02-2021, 11:25 PM   #18
piyarad27
Member
piyarad27 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Oct 2020
Device: pc
Quote:
Originally Posted by kovidgoyal View Post
remove the div.
I have remove <div style="display:none" class="title">Full screen image</div> but not working(white line still there)
piyarad27 is offline   Reply With Quote
Old 02-02-2021, 11:51 PM   #19
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://www.mobileread.com/forums/sh...d.php?t=186697
kovidgoyal is offline   Reply With Quote
Old 02-03-2021, 01:56 AM   #20
piyarad27
Member
piyarad27 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Oct 2020
Device: pc
Quote:
Originally Posted by kovidgoyal View Post
I have write write the bug report at

https://bugs.launchpad.net/calibre/+bug/1914362

Now I just need to wait for respond right?
piyarad27 is offline   Reply With Quote
Old 02-03-2021, 02:13 AM   #21
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
See the next response...

Last edited by deback; 02-03-2021 at 02:24 AM.
deback is offline   Reply With Quote
Old 02-03-2021, 02:24 AM   #22
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Try the following steps:

Replace your image code file with the following:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>part0003</title>
<link href="../stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="../page_styles.css" rel="stylesheet" type="text/css"/>
</head>

<body class="calibre-cover">

<div class="image">

<img alt="cover" src="image_rsrc2GE.jpg" class="calibre3a"/>

</div>

</body>
</html>


Add the following to your stylesheet.css file:

.calibre3a {
height: 100%;
width: 100%;
}
.calibre-cover {
display: block;
padding-left: 0;
padding-right: 0;
text-align: center;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
}
.image {
display: block;
text-align: center;
padding: 0;
margin: 0 0;
}


Copy the following to a blank file and save it as page_styles.css. Add the page_styles.css file to your epub file (Ctrl-F5):

@page {
margin-bottom: 5pt;
margin-top: 5pt;
}

After you've done the above steps, right click on the image html file and click "Link Stylesheets."

Let me know what happens with your cover image.

Last edited by deback; 02-03-2021 at 02:28 AM.
deback is offline   Reply With Quote
Old 02-03-2021, 02:48 AM   #23
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by piyarad27 View Post
Now I just need to wait for respond right?
yes .
kovidgoyal is offline   Reply With Quote
Old 02-03-2021, 02:55 AM   #24
piyarad27
Member
piyarad27 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Oct 2020
Device: pc
Quote:
Originally Posted by deback View Post
Try the following steps:

Replace your image code file with the following:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>part0003</title>
<link href="../stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="../page_styles.css" rel="stylesheet" type="text/css"/>
</head>

<body class="calibre-cover">

<div class="image">

<img alt="cover" src="image_rsrc2GE.jpg" class="calibre3a"/>

</div>

</body>
</html>


Add the following to your stylesheet.css file:

.calibre3a {
height: 100%;
width: 100%;
}
.calibre-cover {
display: block;
padding-left: 0;
padding-right: 0;
text-align: center;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
}
.image {
display: block;
text-align: center;
padding: 0;
margin: 0 0;
}


Copy the following to a blank file and save it as page_styles.css. Add the page_styles.css file to your epub file (Ctrl-F5):

@page {
margin-bottom: 5pt;
margin-top: 5pt;
}

After you've done the above steps, right click on the image html file and click "Link Stylesheets."

Let me know what happens with your cover image.
I fallow the instruction but Nothing change
Attached Files
File Type: txt page_styles rework.txt (57 Bytes, 115 views)
File Type: txt stylesheet rework.txt (3.1 KB, 122 views)
File Type: txt part0003 rework.txt (489 Bytes, 128 views)
piyarad27 is offline   Reply With Quote
Old 02-03-2021, 11:52 AM   #25
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
It should have changed the image file. Have you run Check Book to see if Calibre will find any errors?

I would have to see the entire epub file to see where the problem is.
deback is offline   Reply With Quote
Old 02-05-2021, 03:00 AM   #26
piyarad27
Member
piyarad27 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Oct 2020
Device: pc
Quote:
Originally Posted by deback View Post
It should have changed the image file. Have you run Check Book to see if Calibre will find any errors?

I would have to see the entire epub file to see where the problem is.
Here is the entire calibre file with Epub and metadata.
BTW I'm using calibre 4.8, and have the same problem after I update to the latest version which I return to use 4.8 again
piyarad27 is offline   Reply With Quote
Old 02-05-2021, 12:26 PM   #27
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
I have the file in Calibre 3.48 (the version should not matter at all). I changed the codes to be what I told you to do above. Now I'm seeing full-screen images in both pages using Adobe Digital Editions 1.7. I'm certain I would see the same full-screen images using ADE 2.0 and the most recent version 4.?.

Here is the full HTML for each page, after I revised both.

Page 1:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
<title>part0001</title>
<link href="page_styles.css" rel="stylesheet" type="text/css"/>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>

<body class="calibre-cover">

<p class="image1">

<img alt="Image" src="cover.jpeg" class="calibre3a"/>

</p>

</body>

</html>


Page 2:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
<title>part0002</title>
<link href="../page_styles.css" rel="stylesheet" type="text/css"/>
<link href="../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>

<body class="calibre-cover">

<p class="image1">

<img alt="Image" src="image_rsrc2GE.jpg" class="calibre3a"/>

</p>

</body>

</html>

I never saw any line at the bottom of either image...not when I first opened the file or after I revised the file. If you're still seeing a line at the bottom of either image, then that would have something to do with your e-reader software.

Here are the classes that I added to your stylesheet.css:

.calibre3a {
height: 100%;
width: 100%;
}
.calibre-cover {
display: block;
padding-left: 0;
padding-right: 0;
text-align: center;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
}
.image1 {
display: block;
text-align: center;
padding: 0;
margin: 0 0;
}


Copy and paste each page above over everything in each page in the Calibre editor. Then copy and paste the three classes (listed above) to your stylesheet.css file. Then highlight both HTML files at the left in Calibre and right-click. Click on Link Stylesheets and then click on OK.

If it still doesn't look right to you, let me know, and I'll find out how to attach the revised file to a message here. I've never attached a file here, so I'm not sure how to do that at the moment.
deback is offline   Reply With Quote
Old 02-05-2021, 04:00 PM   #28
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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by deback View Post
I've never attached a file here, so I'm not sure how to do that at the moment.
In Advanced Mode click the paper clip tool.

BR
BetterRed is offline   Reply With Quote
Old 02-05-2021, 04:54 PM   #29
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Quote:
Originally Posted by BetterRed View Post
In Advanced Mode click the paper clip tool.

BR
Thanks!
deback is offline   Reply With Quote
Old 02-06-2021, 01:32 AM   #30
piyarad27
Member
piyarad27 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Oct 2020
Device: pc
Quote:
Originally Posted by deback View Post
I have the file in Calibre 3.48 (the version should not matter at all). I changed the codes to be what I told you to do above. Now I'm seeing full-screen images in both pages using Adobe Digital Editions 1.7. I'm certain I would see the same full-screen images using ADE 2.0 and the most recent version 4.?.

Here is the full HTML for each page, after I revised both.

Page 1:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
<title>part0001</title>
<link href="page_styles.css" rel="stylesheet" type="text/css"/>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>

<body class="calibre-cover">

<p class="image1">

<img alt="Image" src="cover.jpeg" class="calibre3a"/>

</p>

</body>

</html>


Page 2:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
<title>part0002</title>
<link href="../page_styles.css" rel="stylesheet" type="text/css"/>
<link href="../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>

<body class="calibre-cover">

<p class="image1">

<img alt="Image" src="image_rsrc2GE.jpg" class="calibre3a"/>

</p>

</body>

</html>

I never saw any line at the bottom of either image...not when I first opened the file or after I revised the file. If you're still seeing a line at the bottom of either image, then that would have something to do with your e-reader software.

Here are the classes that I added to your stylesheet.css:

.calibre3a {
height: 100%;
width: 100%;
}
.calibre-cover {
display: block;
padding-left: 0;
padding-right: 0;
text-align: center;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
}
.image1 {
display: block;
text-align: center;
padding: 0;
margin: 0 0;
}


Copy and paste each page above over everything in each page in the Calibre editor. Then copy and paste the three classes (listed above) to your stylesheet.css file. Then highlight both HTML files at the left in Calibre and right-click. Click on Link Stylesheets and then click on OK.

If it still doesn't look right to you, let me know, and I'll find out how to attach the revised file to a message here. I've never attached a file here, so I'm not sure how to do that at the moment.
I still get the white Here I have the video of what I mean to give you the better understanding of what I mean (sorry for the shuttering and the accent)
Attached Files
File Type: zip How my prob look like.zip (10.48 MB, 107 views)
piyarad27 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I remove white space under the full page image. piyarad27 Conversion 0 01-17-2021 03:41 AM
How to make pages with full bleed / full page images mypointofview Editor 5 06-21-2016 05:45 PM
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; } cybmole Conversion 15 02-12-2011 11:57 AM
Changing Margin Settings to use full width of the Screen??? JBlyth Kobo Reader 9 07-05-2010 09:54 AM
Changing Margin Settings to use full width of the Screen JBlyth Kobo Reader 0 07-02-2010 10:31 PM


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


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