Skip to content

ComicRack plugin that will fetch the resolution from a book and insert it in a specified field.

License

Notifications You must be signed in to change notification settings

maforget/ComicRack_FindImageResolution

Repository files navigation

You should consider using ComicRack Community Edition. And if you can please contribute to the project.

Find Image Resolution for ComicRack

👇 Download Links 👇

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).

Also for ComicRack:

  • Data Manager let's you manipulate your data for ComicRack. Fix the various bugs in the latest v2 release.
  • Keygen for ComicRack. A keygen to activate because of the now dead website. Also includes the Android Client, RAR5 Support Pack to enable RAR5 functionality and additional fixes.
  • Bédéthèque Scrapper v2 to scrap data from the French BD site Bédétheque.
  • Amazon Scrapper for ComicRack. A Scrapper for Amazon books (former Comixology library).
  • Backup Manager for ComicRack Automates the process of saving the ComicRack library file or easy 1 click backup. Updated to support the Community Edition, Portable mode & Alternate Configurations.
  • fullscreen.py. It will automatically fullscreen the application when either opening a book or starting the application depending on which you enable). Copy the file in either %programfiles%\ComicRack\Scripts or %appdata%\cYo\ComicRack\Scripts.
  • comicrack-copy-move-field. Moves or copies info from one field to another. Can either replace or append to the destination field. Small update from the original to permit dates to be copied or moved.

About

ComicRack plugin that will fetch the resolution from a book and insert it in a specified field.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published