Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-19-2021, 02:43 AM   #1
rachealwaceke
Junior Member
rachealwaceke began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2021
Device: none
Smile Adding Alternative text for images.

I have an epub file i am working on,it does not have any error(it is valid)
But when i want to open it using sigil and edit the alt text using the access-aide plugin it fails to open.Any clue on how to solve this.
Attached Thumbnails
Click image for larger version

Name:	sigil error.png
Views:	181
Size:	142.8 KB
ID:	188779  
rachealwaceke is offline   Reply With Quote
Old 08-19-2021, 10:30 AM   #2
Binchen
Connoisseur
Binchen began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
Looks like the attributes width and height have invalid values (see last two lines)
Binchen is offline   Reply With Quote
Advert
Old 08-19-2021, 11:04 AM   #3
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by rachealwaceke View Post
I have an epub file i am working on,it does not have any error(it is valid)
But when i want to open it using sigil and edit the alt text using the access-aide plugin it fails to open.Any clue on how to solve this.
Apparently, PIL couldn't detect the width and height of the cover image. What kind of image file are you using as a cover image?

(If the file type is not listed on this page, the plugin won't be able to get its dimensions.)
Doitsu is offline   Reply With Quote
Old 08-19-2021, 11:46 AM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,467
Karma: 5703586
Join Date: Nov 2009
Device: many
You are the second person to post about this today? Or did you already post an issue on my Access-Aide github site?

The bug is exactly what Doitsu and Binchen have explained. One of your image files either is corrupt or is not supported by the PIL python module.

If you want me to look at it please post a private link to it (if not public domain) and PM me (KevinH) on this site with a link.
KevinH is offline   Reply With Quote
Old 08-20-2021, 02:23 PM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,467
Karma: 5703586
Join Date: Nov 2009
Device: many
Update: Actually the image was NOT corrupt. It was just so wide and thin in height that when scaling it to create a thumbnail for the gui actually caused the scaled height to be truncated to 0 pixels.

This bug has now been fixed in Access-Aide_v053.zip which is now available for download in our Plugins Index or via https://github.com/kevinhendricks/Access-Aide
KevinH is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding alternative readers to Kobo devices Ken Maltby Kobo Reader 251 11-28-2024 05:46 PM
Adding Images JP91306 Editor 1 07-06-2018 04:41 AM
Adding images in pages? Wolfrott Editor 3 07-08-2015 02:08 AM
Adding Images Freeen Calibre 6 02-27-2012 05:05 PM
Adding Images To Ebook gtshadow Calibre 3 09-29-2010 11:23 AM


All times are GMT -4. The time now is 04:16 AM.


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