Resize Images
Description | : | Resizes each image and printout in the current page by given percentage. This extension allows to choose either all images or the selected image only on the current page to be resized. |
Download |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Author(s) | : | Onetastic, ipotassium, Chris K.Y. FUNG | |||||||||||
Category | : | Image | |||||||||||
Last Updated | : | January 23, 2018 | |||||||||||
Requirements | : | OneNote 2010 or above | |||||||||||
Screenshot | : | ||||||||||||
![]() Resize Images
|
|||||||||||||
Changelog | : | January 23, 2018 (ADE762) - Onetastic October 21, 2017 (FB78C8) - Onetastic September 12, 2017 (F01008) - ipotassium September 16, 2016 (255E7E) - Onetastic June 20, 2016 (C6CD8C) - Onetastic These versions are no longer supported: June 15, 2014 - Chris K.Y. FUNG March 09, 2013 - Onetastic |
1) retain the last setting - why? I would like to consistently resize images by 125 %. It's a pain to type that in every time I want to resize.
2) it would be nice, but perhaps difficult to do: when right click on an image offer the resize by % option & default to last value used.
Thanks!
Two issues:
It fairly flattens the images on the page, sort of in a 2:1 ratio (and I had not requested disproprtionate rexizing).
And it also left other images within a table on the page untouched!?
I did click on the downloaded ReSize Image file and it confirmed it was added. I dont see it in OneNote, and when I click on existing images on a OneNote page, I dont see an option to resize all images on the page.
Tx for any help.
1. Press "Edit" in the "Macros" area
2. Click this line to edit
$WidthRatio = ($Width/ 100.00)
Change that line to
$WidthRatio = ($dialog_box.controls["WidthRatio"] / 100.00)
Hit Save.
$WidthRatio = ($dialog_box.controls["WidthRatio"] / 100.00)
and
$HeightRatio = ($dialog_box.controls["HeightRatio"] / 100.00)
And it should work as intended.
Now with Win10 and new version it does absolutely nothing. There is window etc. but no action is taken after hitting 'ok'.
Am I missing something?
$Images = $Page.images
get always 0 objects:
$Images = $Page.images
Retrieving page contents under Object of type Page
Retrieving contents for page 'Senza titolo'
Evaluating expression: $Page.images
Value: Array of size (0)
New Value: Array of size (0)
Evaluating expression: ($Images = $Page.images)
Value: Array of size (0)
I replaced
ForEach ($Image in $Images)
with
ForEach ($Image in QueryObjects("Image", GetCurrentPage()))
now it works
This macro is really a time saver. I was trying to write a macro to change the "OCRData lang" of an image to en-US because for some reason, images I insert always default to French on my computer and the text they contain is usually not French. Unfortunately, there does not seem to be such a property available. How can I achieve this?
Philippe
Regards, Michael
I have modified your macro to have the proportional resize of image by entering the value once.
thanks.
Oops, sorry. I forgot to put my name and I also forget my log-in password . The last time I tried the \"forget password\" feature in this site, it did not work.
Thanks.