![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2021
Device: kobo aura
|
How to avoid aliasing for image on an epub?
Hello mobileread community!
As you can see on the following image, the gray and black strokes in this PNG are aliased. I can achieve a perfect quality with SVGs but other issues force me to switch to PNGs (some stroke just doesn’t appear for unknown reasons). https://i.stack.imgur.com/In2hk.png Original PNG image Does anyone have similar experience? Is that related to my device (Kobo Aura)? Last edited by Jellby; 08-19-2021 at 08:50 AM. Reason: Change oversized image to link |
![]() |
![]() |
![]() |
#2 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Moderator Notice Images included in posts must be no more than 600x600 pixels. Your problem is probably similar: Resize the image with a decent image editing software to a reasonable size, and avoid the device having to do the resizing (which creates the aliasing). |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2021
Device: kobo aura
|
Thank you for your answer. How can I know what is the best size for my device? How can I make sure this size will fit only to my device?
|
![]() |
![]() |
![]() |
#4 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 438844
Join Date: Aug 2019
Device: PC, Linux Mint, Tablet, and Telephone
|
Quote:
An online Swiss Knife in the field of good image editing is https://www10.lunapic.com/editor/. If you choose the scale option, the width / height ratio remains the same, see attachment. |
|
![]() |
![]() |
![]() |
#5 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Quote:
That's expecting a fairly sophisticated reader. And it's unnecessary Just make it greyscale, black and grey on white. Reduced the palette to 4 colours, the filesize is 1/6th, and should work better. https://imgur.com/dWQwkeR I use Irfanview to do simple transformations like this. if you want to scale it, it can do that too: here's 800 px wide. Even smaller file. Last edited by AlanHK; 08-27-2021 at 02:10 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2021
Device: kobo aura
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,130
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
But do not forget to test the images with a 6" 300DPI Reader to make sure the image sizes are large enough.
|
![]() |
![]() |
![]() |
Tags |
images, png, resolution, svg |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to avoid EPUB to AZW3 extra margins | Marc/o | Calibre | 2 | 06-16-2020 12:32 PM |
E-bokk viewer: Image+text+page-break-inside:avoid = issue | iG0R | Calibre | 32 | 04-18-2020 10:04 PM |
any reason to avoid px measurements in epub? | gluejar | ePub | 15 | 01-09-2020 10:04 PM |
[Old Thread] Avoid epub split in several html files? | mastroalex | Calibre | 18 | 12-03-2011 03:50 PM |
Turn of anti-aliasing?? | SteveC | Bookeen | 8 | 08-15-2009 07:46 PM |