ImageResizer

AnkiWeb addon 1214357311

Automatically resizes pasted or drag-and-dropped images to configurable dimensions, with shortcut resizing, aspect-ratio options, upscaling control, and transformation quality settings.
AI-generated summary; may contain mistakes.

card-creationformattingshortcutsfork-or-reupload

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
155 (πŸ‘ 113 Β· πŸ‘Ž 42)
Updated
2023-12-03
Anki versions
23.10~
License
MIT (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python
Description language
en

Maintenance

abandoned

  • Last update or commit: 2023-12-03 (1064 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 11 open, 23 closed.
  • Pull requests: 2 open, 1 merged.
  • Median first response: 14 hours (24 answered issues and pull requests).
  • Outside pull requests: 100% of 1 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.023.10+2023-12-03
History across monthly snapshots

Loading…

Similar addons

Anki Image Reshaper

Automatically resizes and aligns images pasted or drag-dropped into Anki's editor using configurable strategies, with deck-specific defaults and toolbar controls.

card-creationformattingappearance

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 0 Anki 2.1.66~ Updated 2025-12-28
Image Style Editor

Resizes images by individually setting CSS width and height through a right-click editor menu, preserving quality and supporting Image Occlusion notes.

formattingimage-occlusionmobile-compatible

55 votes 85% approval πŸ‘ 52 Β· πŸ‘Ž 3 ⭐ 6 Anki 24.04.1~ Updated 2021-12-17
Accelerate Image Drag And Drop

Widens the editor's first field and adds focus-independent shortcuts for previewing next or previous notes and opening an image-search link, speeding intensive image drag-and-drop.

card-creationshortcutsappearance

2 votes 34% approval πŸ‘ 2 Β· πŸ‘Ž 0 ⭐ 6 Updated 2018-12-26
Editor scale images

Enables resizing images by clicking and dragging their lower-right corner in Anki's desktop editor, preserving aspect ratio; double-clicking clears scaling, with a configurable selection border.

formattingobsoletemobile-compatible

5 votes 57% approval πŸ‘ 5 Β· πŸ‘Ž 0 ⭐ 0 Anki 2.1.49~ Updated 2022-02-11
Resize images in editor fork

Enables click-and-drag image resizing directly in Anki's editor, with configurable aspect ratio, maximum/minimum dimensions, and draggable border width; now deprecated in favor of native support.

formattingappearanceobsoletemobile-compatible

99 votes 69% approval πŸ‘ 77 Β· πŸ‘Ž 22 ⭐ 8 Anki <=2.1.48 Updated 2021-07-19

Description

For any one who is encountering the repetitive updating prompts, please follow the steps in https://github.com/mankinence/ImageResizer/issues/23#issuecomment-855164875 to fix it.

  • Update 1: Add reset and log. Feb 8, 2016
  • Update 2: Now you can copy the image files and paste it without opening them. Dropping works too. svg files work now. Feb 10, 2016
  • Update 3: Make the resize work on Mac. Feb 13, 2016
  • Update 4: Thanks to Glutanimate, scaling without turning on PNG pasting works now. Feb 18, 2016
  • Update 5: Add another scaling option: scale to the maximum dimension and keep ratio. If width > height, it will scale to width, if width < height, it will scale to height. It would be useful if the width/height ratio of the image is extremely small(or large) April 20, 2017
  • Update 6: Add an option to disable upscaling for small images. June 9, 2017
  • Update 7: Fix the encoding/decoding error. July 23, 2017
  • Update 8: Thanks to ChrisK91, the smooth transformation is added. Dec 17, 2017
  • Update 9: support files with uppercased extensions
  • Update 10: A big thanks to lgaborini for porting ImageResizer to Anki2.1. Jul 25, 2018
  • Update 11: Fix the encoding issue in Anki 2.1. Sep 10, 2018
  • Update 12: No functional change to the add-on. It now has a new maintainer and location on GitHub. April 23, 2020
  • Update 13: Support 2.1.36+. Dec 18, 2020
  • Update 14: Anki with PyQt5 doesn't work with this addon on Linux, and possibily, macOS, fix it. Mar 27, 2021
  • Update 15: Enable SSL. April 11, 2021
  • Update 16: Support Anki 2.1.50beta March 20, 2022
  • Update 17: Fix the repetitive updating prompts on Windows, but it requires uninstalling the old version and installing the new version. After installing the new version, the repetitive bug won't occur anymore.
  • Update 18: Support PyQt6. Jun 7, 2022
  • Update 19: 1. Make pasting audio files work. 2. Change the default shortcut to Ctrl+Shift+F. Jul 15, 2022
  • Update 20: Support Anki 23.10 Dec 3, 2023
Introduction

ImageResizer is a simple Anki add-on used to resize images. So images that are too big or too small to be used in reviewing are not a problem anymore.

Before resizing

After resizing

Usage

Install ImageResizer, and that's it! Images will be automatically resized on pasting or drag-and-dropping.

Settings

You can change the shortcut and the size of the image etc. from Tools --> Image Resizer

The Settings window will pop up.

  1. Check Resize on pasting so that images will be resized automatically. Uncheck it if you only want images to be resized when pressing the shortcut.
  2. Check Disable upscaling if you only want to make images smaller.
  3. Smooth transformation may produce a higher quality image, but may also take a longer time than the fast transformation. Choose the one that suits you.
  4. You can also set the shortcut to paste the resized images, it's Ctrl + Shift + v by default.
  5. You can set the width or height of the resized image. If you select scale to width and keep ratio, ImageResizer will resize the image according to the width you specified, and the height value here will be ignored. The same goes to scale to height and keep ratio. Notice that it will always keep the original image's ratio, either by width or height. There's also a third option, scale to the maximum dimension and keep ratio, if this option is chosen, ImageResizer will scale to width if width > height, and will scale to height if height > width, this option is useful when the ratio of height/width of the image is extreme.

Improvement or bug report

If you have any issues or requests, please visit the new GitHub repo to submit a pull request or open an issue. UPDATE: the repo has a new maintainer and location on GitHub!

If you don't know how to use GitHub, you can also send an email to mycityofsky@gmail.com, I will try my best to help you solve the problem.

README

ImageResizer

Download on AnkiWeb or with add-on number 1214357311.

Having issues, want to contribute or want to give feedback? See the contributing page.

Want to see a history of the add-on changes? See the history page.

Introduction

ImageResizer is a simple Anki add-on used to resize images, automatically or on command. Sometimes images are too big or small for the screen when reviewing. This add-on gives you the power to define an image size in advance and paste images onto cards with those dimensions! It can be configured to automatically resize every image you paste or it can be assigned a keyboard shortcut so you can resize sometimes but not others.

What does this add-on NOT do? It does not change the size of images that are already in cards, it only applies to new images that are pasted. It also doesn't let you click and drag to change the size of an image. If you'd like to do that, check out the Resize image in editor add-on. For an overview of various add-ons for resizing images, check out the AnKing video.

Without ImageResizer

With ImageResizer

Usage

Install ImageResizer, and that's it! (Well, maybe restart Anki just to be sure.) Images will be automatically resized on pasting or drag-and-dropping.

Settings

You can change the keyboard shortcut, size of the image and other settings by selecting Tools -> Image Resizer from the top menu bar.

The Settings window will pop up.

  1. Check Resize on pasting so that images will be resized automatically. Uncheck it if you only want images to be resized when pressing the shortcut.
  2. Check Disable upscaling if you only want to make images smaller.
  3. Smooth transformation may produce a higher quality image, but may also take a longer time than the fast transformation. Choose the one that suits you.
  4. You can also set the shortcut to paste the resized images, it's Ctrl + Shift + V by default.
  5. You can set the width or height of the resized image. If you select scale to width and keep ratio, ImageResizer will resize the image according to the width you specified, and the height value here will be ignored. The same goes to scale to height and keep ratio. Notice that it will always keep the original image's ratio, either by width or height. There's also a third option, scale to the maximum dimension and keep ratio. If this option is chosen, ImageResizer will scale to width if width > height, and will scale to height if height > width. This option is useful when the ratio of height/width of the image is extreme.