Skip to content

v1.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 02 Apr 07:19
· 7 commits to master since this release

This plugin will check the resolution of the images inside a book and get the value for the one that occurs the most,

Configuration are in File => Automation => Find Image Resolution (.NET) Config.
  • Syntax similar to Library Organizer. You can reference any field from ComicRack even Customs one.
  • Option to Force Recheck, will load each images into memory individually (slower), even if they were cached. (If you have % set to 0, it will check a minimum of 2 pages)
  • Check Help when you hover over certain elements in the configuration dialog.
  • Verification to prevent the text from being duplicated if you use it twice.

Library Organizer Syntax is anything between the { and < and > with } will be added as prefix & suffix. If the field is null or empty then no prefix & suffix will be used. You can use the GUI to easily set your commnds just like in the Library Organizer plugin. You can use any field, even custom fields.

image

Normal replacement. X and px before and after Height will only be inserted if it has a value.

image

You can also add any text outside the { } and it will always be inserted.

image

To Append to an existing field, add the field that you are targetting into the command. This will always be in the dropdown menu (Insert into Field).
In the present example, a space will be added only if the ScanInformation field already contains a value. And if you don't want a space, you can change it to anything you want, a dot, or anything.
So if ScanInformation contains TONER => TONER 2598px and if ScanInformation is empty => 2598px.

image

To add a new line between existing text, just add it into the textbox by just adding a new line .

image

You can use any field, even if they are not in the dropdown menu, if a field does not exist it will look in the Custom fields.
(Note: fields are case-sensitive)

P.S. When you click on Add, it will add the text to the last place where you placed your cursor.

Some pages are already cached by ComicRack (Fast pages) which means that the resolution is already loaded in memory. Some pages aren't, which mean that for the pages that weren't cached, we need to load them in memory one by one (Slow Inspection). There is a config that is named % of Slow Inspection, that will check which percentage of the slow pages (not cached) we should individually check, one by one. A higher percentage will be more precise, but since usually all the pages are the same resolution, using a low percentage will give you a faster result. I personally use a 25% setting and find it adequate.


Usage is done via Right-Click => Automation => Find Image Resolution (.NET).

Normally ComicRack plugins uses IronPython (a mixture of Python & .NET Framework). This is now obsolete and very hard to develop & debug for, so this plugin is made from scratch completely with the .NET Framework. The only python code is to call the .NET Code (1 line).