Skip to content

Releases: glutanimate/image-occlusion-enhanced

Version 1.4.0

09 Apr 06:48
Compare
Choose a tag to compare

Support my work

If you enjoy Image Occlusion Enhanced, please consider supporting my work by pledging your support on Patreon or by buying me a cup of coffee. – Thank you! ❤️

    

Changes

IMPORTANT: This release is only compatible with Anki 2.1.50 and up. If you are on an earlier Anki release, please download v1.3.0.

Added

  • Added support for Anki 2.1.50 and up. Both Qt6 and Qt5 builds are supported. On Apple silicon the add-on now benefits from the performance improvements that Anki's native Qt6 build provides.
  • Added a confirmation prompt when attempting to close the window via Escape when there are unsaved changes present.

Fixed

  • Fixed instances of cards being saved to the wrong deck (and thus seemingly going missing).
  • Fixed instances of images not being automatically resized to the canvas upon launching IO

Changes

  • When creating occlusions from images in the clipboard, the add-on will now follow Anki's preferences to determine whether to save images as PNG or JPG files (thanks to @zjosua), with JPG being the default. JPG files are smaller and thus make syncs quicker, but come with a small quality penalty. If you prefer using PNG files you can change the add-on's behavior by heading to Anki's main preferences under Tools → Preferences and setting the checkmark at "Paste clipboard images as PNG".

Other changes

  • [Development] Reworked project dependency management, making it easier to set Image Occlusion up for development
  • Set some of the foundations for potentially adding locale support in the future (thanks to @5hir0kur0 and @Polymehr!)
  • Other fixes and improvements thanks to @zjosua, @Arthur-Milchior, @telotortium, and @davidculley

Full changelog

Installation instructions:

Please see the manual installation section in the README.

Help & Support

Run into any issues? Please file a bug report here.

Version 1.3.0-alpha6

28 Apr 17:48
66935fb
Compare
Choose a tag to compare
Version 1.3.0-alpha6 Pre-release
Pre-release

Support my work

If you enjoy Image Occlusion Enhanced, please consider supporting my work by pledging your support on Patreon or by buying me a cup of coffee. – Thank you! ❤️

    

Changes

Fixed

  • Fixed note editing support on Anki 2.1.24+ (thanks to @zjosua for the fix!)
  • Fixed a rare error that would occur when the add-on would update its template (thanks to Emma for the report!)

Full changelog

Installation instructions:

Please see the manual installation section in the README.

Help & Support

Run into any issues? Please file a bug report here.

Version 1.3.0-alpha5

11 Sep 11:47
Compare
Choose a tag to compare
Version 1.3.0-alpha5 Pre-release
Pre-release

Support my work

If you enjoy Image Occlusion Enhanced, please consider supporting my work by pledging your support on Patreon or by buying me a cup of coffee. – Thank you! ❤️

    

Changes

Fixed

  • Handle malformatted and unrecognized image formats more graciously (thanks to Audrey for the report)

Full changelog

Installation instructions:

Please see the manual installation section in the README.

Help & Support

Run into any issues? Please file a bug report here.

Version 1.3.0-alpha4

14 Apr 21:18
Compare
Choose a tag to compare
Version 1.3.0-alpha4 Pre-release
Pre-release

Support my work

If you enjoy Image Occlusion Enhanced, please consider supporting my work by pledging your support on Patreon or by buying me a cup of coffee – Thank you! ❤️

    

Changes

Added

  • Introduces .ankiaddon packaging format for GitHub builds

Fixed

  • Fixes error message when deleting current note in editing session (#87, thanks to @zjosua)
  • Fixes rare error message when closing card browser

Full changelog

Installation instructions:

Please see the manual installation section in the README.

Help & Support

Run into any issues? Please file a bug report here.

Version 1.3.0-alpha2

11 Dec 18:58
Compare
Choose a tag to compare
Version 1.3.0-alpha2 Pre-release
Pre-release

Quick hotfix for Anki 2.1.6 compatibility

(Now packages the UUID module which no longer seems to ship with Anki 2.1.6's Python distribution)

Version 1.3.0-alpha1

29 Jun 23:32
Compare
Choose a tag to compare
Version 1.3.0-alpha1 Pre-release
Pre-release

Note: This is an Anki 2.1-only release (for now)


The primary focus in this release was Anki 2.1 compatibility, but v1.3.0 also comes with a number of nifty new features which I would like to highlight first:

  • You can now occlude images in any note type you want, either by right clicking on them and selecting the respective option, or by using the Image Occlusion button!
  • As an added bonus: The new context menu introduced by the add-on will also allow you to open any image with your default system viewer – a great way to perform quick image editing tasks when needed.
  • The masks editor now allows you to add hints to your occlusion shapes. In order to do so, simply create a text element on top of a shape and group it with the shape.
  • You can now set a custom hotkey for invoking I/O. Gone are the days of conflicts with different keyboard locales!
  • In-app help screens now guide users through the basic use of the add-on (including how to add cards, edit them, group masks, label items, etc.)

(Some of the changes above will likely also be part of a future release of v1.3.0 for Anki 2.0.)

v1.3.0 for Anki 2.1 also comes with a plethora of bug fixes (some of the bugs fixed in this update have plagued I/O ever since its original release!):

  • Fix: Automatically remove accidentally drawn shapes. This addresses instances where users would end up with more cards than they should have because of invisible shapes drawn by the oversensitive editor component (especially with touch interfaces)
  • Fix: Resolve issues with unicode characters in Anki path and/or image path. This should fix most of the problems users were experiencing with non-latin locales (e.g. the I/O editor screen remaining blank because SVG-Edit did not load, or various UnicodeError messages)
  • Fix: More robust I/O editor instantiation. Should help address some of the stability issues users experienced over longer card creation sessions (e.g. needing to restart Anki to get I/O working again).
  • and a large number of other smaller bug fixes and improvements

There also some changes to the workflow in I/O v1.3.0 that you need to be aware of:

  • The default hotkey for invoking I/O is now Ctrl+Shift+O (customizable through the new settings entry)

  • The card generation options have been renamed and simplified: You can now choose between "Hide All, Guess One" (used to be "Hide All, Reveal One") and "Hide One, Guess One" (used to be "Hide All, Reveal All"). My hope with these new names is that they will be more intuitive for new users. (thanks a lot to Tiago Barroso for the suggestion!)

  • "Hide All, Reveal All" is no longer available as a mask generation option. With the mask reveal button introduced in recent I/O releases it no longer served much of a purpose and was mostly confusing new users as they expected it to work like a grouped occlusion of all shapes.

    Just in case you were using this option and are now wondering how to cover the same use cases:

    • In case you were using "Hide All, Reveal All" to uncover all labels on the back: Try to switch to using "Hide One, Guess One" coupled with the mask reveal button on the backside (hotkey: G)
    • In case you were using "Hide All, Reveal All" to 'group' your shapes: Use the actual grouping feature instead

LIMITATIONS OF THIS ALPHA RELEASE

There are a number of known limitations to this alpha release that you need to be aware of:

  • Due to compatibility issues between SVG-Edit and the new Chromium renderer in Anki 2.1 some of the features in the masks editor no longer work correctly. My hope is to address these in the following beta release:
  • Please do not invoke the add-on's settings menu while the I/O Editor is running. There is currently no support for updating I/O editing sessions at runtime, and while most settings will simply only not be applied, others might cause the add-on to stop working correctly until the editor session is restarted. The same applies to modifications to the add-on's note type via Anki's built-in note type manager.

Of course there also bound to be some unforeseen bugs and regressions in the alpha. If you experience any of these please make sure to either report them on the add-on's bug tracker or in the official support thread.

Version 1.2.2

17 Apr 06:49
Compare
Choose a tag to compare
  • Fixed: rare AttributeError when changing the image
  • Fixed: GIFs should be supported on Windows and macOS now
  • Fixed: incompatibility with upcoming release of "Quick not and deck buttons" add-on

Version 1.2.1

14 Feb 12:38
Compare
Choose a tag to compare
  • Fixed: Unicode TypeError on Windows

Version 1.2.0

14 Feb 09:51
Compare
Choose a tag to compare
  • New: Hotkey for toggling masks on the answer side (G)
  • New: Preserve scrollbar position when revealing the answer
  • New: Reuse existing images when creating multiple occlusion sets from the same base image
  • New: Limit image display height in editor fields in order to improve navigating notes in the card browser
  • Changed: Updated default field order to move the question mask below the original image. Should make it easier to identify each respective card in the browser.
  • Fixed: Remove card margins on mobile devices
  • Fixed: Increased size of mask toggle button on mobile devices

Please note that the changes to the field order and card templates only apply to new installations of the add-on. I've decided against enforcing these changes on existing installations as that would undo any customizations you might have applied to the note type. If you'd like to update your cards with these changes, please follow the instructions in the Wiki to reset your field order and card template to the (new) defaults.

Version 1.1.1

21 Jan 14:56
Compare
Choose a tag to compare
  • Fixed: Clicking on a context menu entry would launch the web browser under some circumstances (thanks to PolymorphicVTach for the report)