Method to generate all page thumbnails/page stats? #220
LegendaryLass
started this conversation in
Plugins
Replies: 2 comments
-
|
Check my Find Image Resolution plugin that already does that. It's a remake of this https://gist.github.com/maforget/63558612d19410c9807d6e87a494cf4a. What I am doing is that if the resolution is 0, then I use |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
nailed it. thanks!
…On Mon, Nov 24, 2025 at 4:44 PM maforget ***@***.***> wrote:
Check my Find Image Resolution
<https://github.com/maforget/ComicRack_FindImageResolution> plugin that
already does that. It's a remake of this
https://gist.github.com/maforget/63558612d19410c9807d6e87a494cf4a.
What I am doing is that if the resolution is 0, then I use
ComicRack.App.GetComicPage to get the image, figure out the resolution.
It is slow so my plugin has options to determine the percentage of the book
to use to calculate the resolution. See GetSlowPage
<https://github.com/maforget/ComicRack_FindImageResolution/blob/ffaa7b3012aff4029af01118beb1332621a68d75/FindImageResolution/BookImageResolution.cs#L59-L93>
.
—
Reply to this email directly, view it on GitHub
<#220 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5DSAFKNPEN56GNKGZIOEZD36N34FAVCNFSM6AAAAACNB7PB7WVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMBWGY4TQMI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Am I missing something or is there no method to update all a page's thumbnails? I want to be collecting the average dimensions of all pages in a book but it looks like if CR has not opened or previewed in Get Info all the pages, it only collects those stats and generates thumbnails for the first 2 pages (usually cover and page 1). Is there a way to programmatically get it to do that for a/all pages? If not we sure could use one :)
Beta Was this translation helpful? Give feedback.
All reactions