Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-24-2024, 07:44 PM   #1
eliteart
Member
eliteart began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Apr 2024
Device: kindle Paperwhite IV
[Editor Plugin] Bulk Image Resizer Plugin

Bulk Image Resizer Plugin

Description
The plugin boasts an aggressive image size reduction feature that, in rare cases, can shrink images by a factor of 8.

Adjustments are made discriminately, optimizing larger images while maintaining the integrity of smaller ones, as the conversion process is exclusively applied to images surpassing the predefined maximum resolution threshold on their shorter side.

Key features include:
- Effortless image resizing
- Optional adjustment of image quality
- Optional conversion to WebP format (Note: this WebP may not display correctly on some devices - including Kindle Paperwhite IV)


Version History & Issues: Github.
Attached Files
File Type: zip bulk-img-resizer.zip (8.6 KB, 19 views)
eliteart is offline   Reply With Quote
Old 04-24-2024, 10:42 PM   #2
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: 35,434
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
As far as WebP images and ePub ebooks go, until ePub3.3, WebP images were not part of the ePub standard's core media types and very few ePub renderers(*) that I have tested will display them. I also played with WebP images and Send to Kindle and again, the images did not display unless I wanted to see the camera with a exclamation mark in a triangle error indicator.

* The three renderers that worked were the ones used by Thorium, Sigil (epub editor) preview and calibre's ebook-editor preview. All three are browser based. When testing with Sigil, I also have the BibiReader, EpubJSReader and RadiumReader output plugins installed and the BibiReader plugin did not display the images.

None of my eInk devices showed the images.

Last edited by DNSB; Yesterday at 12:30 AM. Reason: Corrected that WebP images were added to core image types in the ePub 3.3. standard
DNSB is offline   Reply With Quote
Advert
Old Yesterday, 05:40 AM   #3
eliteart
Member
eliteart began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Apr 2024
Device: kindle Paperwhite IV
Quote:
Originally Posted by DNSB View Post
As far as WebP images and ePub ebooks go, until ePub3.3, WebP images were not part of the ePub standard's core media types


Initially I thought my conversion was broken in some way, but after double checking it my next guess was on the device itself.

It's probably good idea to extend this info to the plugin GUI
eliteart is offline   Reply With Quote
Old Yesterday, 08:39 AM   #4
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: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I do think it would be a good idea to change the conversion to WebP and make it a conversion from Webp.
JSWolf is online now   Reply With Quote
Old Yesterday, 03:39 PM   #5
eliteart
Member
eliteart began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Apr 2024
Device: kindle Paperwhite IV
Quote:
Originally Posted by JSWolf View Post
I do think it would be a good idea to change the conversion to WebP and make it a conversion from Webp.
Awesome idea!

Since I was touching it, I added picker for output conversion (JPEG, PNG, WebP)

PS.

Would be nice if somebody could grant me permission to edit first post
So for now updated version available only on github
eliteart is offline   Reply With Quote
Advert
Old Yesterday, 07:06 PM   #6
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: 35,434
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I would leave the capability to convert to WebP but with a warning that most current devices will not support those images. I've received a couple of ebooks to edit where the creator has used WebP images so the ability to change WebP to jpeg/png would be handy.
DNSB is offline   Reply With Quote
Old Yesterday, 09:08 PM   #7
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: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by eliteart View Post
Would be nice if somebody could grant me permission to edit first post
You need to get your post count above 10 - post some replies in some of the silly treats in here ==>> Lounge

BR
BetterRed is online now   Reply With Quote
Old Today, 04:02 AM   #8
eliteart
Member
eliteart began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Apr 2024
Device: kindle Paperwhite IV
Quote:
Originally Posted by DNSB View Post
I would leave the capability to convert to WebP but with a warning
Yep I already did that.


Quote:
Originally Posted by BetterRed View Post
You need to get your post count above 10
trying that now...
Attached Thumbnails
Click image for larger version

Name:	A.PNG
Views:	19
Size:	20.0 KB
ID:	207831   Click image for larger version

Name:	B.PNG
Views:	16
Size:	17.7 KB
ID:	207832  
eliteart is offline   Reply With Quote
Old Today, 04:14 AM   #9
eliteart
Member
eliteart began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Apr 2024
Device: kindle Paperwhite IV
Quote:
Originally Posted by BetterRed View Post
You need to get your post count above 10
nope I still can't edit my posts...
eliteart is offline   Reply With Quote
Old Today, 06:58 AM   #10
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: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by eliteart View Post
nope I still can't edit my posts...
it's worked in the past - try posting a request in the Feedback forum, one of the Admins might be able to fix it.

Maybe they upped the threshold - its an anti-spam measure.

BR
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Editor Plugin] Editor Chains capink Plugins 82 04-02-2024 10:56 AM
[Editor Plugin] Reformat plugin robert.swita Plugins 19 06-16-2023 07:03 AM
Metadata Download Plugin - Bulk Downloads Bradles Development 2 03-14-2021 10:23 PM
[Editor Plugin] - Enabling 'Customize plugin' dialog directly from the Editor thiago.eec Development 7 01-09-2019 08:05 PM
Sample Plugin for the Editor DiapDealer Editor 77 12-10-2014 07:16 AM


All times are GMT -4. The time now is 07:20 PM.


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