PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

[Image Resizer] Show "Resize pictures" on all supported formats

Open bricelam opened this issue 5 years ago • 7 comments
trafficstars

Resize pictures should appear when right-clicking on any image format with a corresponding WIC codec. This would mean that installing things like following would make it appear.

Ideally the formats would also appear in the fallback encoder list.

bricelam avatar Apr 03 '20 21:04 bricelam

Just to be clear: Do people need to install a plug-in/codec to be able to use things like webp? If so, this might be worth mentioning in the docs or even the UI.

Jay-o-Way avatar Nov 21 '20 12:11 Jay-o-Way

I followed the step and installed all plugin mentioned still not working with webp files https://github.com/microsoft/PowerToys/issues/16776#issue-1159442207 any suggestion?

scarrrr316 avatar Mar 08 '22 16:03 scarrrr316

Hmm, someone should investigate why this line isn't working correctly.

https://github.com/microsoft/PowerToys/blob/34e4e7e5bd977149f0e324caa6a59e84c02b2fe3/src/modules/imageresizer/dll/ContextMenuHandler.cpp#L88

It appears to be registered as an image.

REG QUERY HKCR\.webp /v PerceivedType
HKEY_CLASSES_ROOT\.webp
    PerceivedType    REG_SZ    image

bricelam avatar Mar 17 '22 21:03 bricelam

Of course, that might just be the tip of the iceberg. I seem to remember some "not initialized" errors when WPF tries to use a store-installed codec.

bricelam avatar Mar 17 '22 21:03 bricelam

image seems that it has registered as an image, still not working with webp files

scarrrr316 avatar Mar 30 '22 03:03 scarrrr316

I followed the step and installed all plugin mentioned still not working with webp files #16776 (comment) any suggestion?

Mine doesn't work with HEIC files either. Still trying to find a fix other then the extra step of converting HEIC to JPG. Searching the internet for any solutions. :)

JonnyBoy-101 avatar Apr 04 '22 14:04 JonnyBoy-101

Installing extension from Microsoft Store doesn't works for me. In fact, Poweytoys doesn't register these image formats at all.

https://github.com/microsoft/PowerToys/blob/9591d75d4fd9c1e7db1187bdb4eab4948f23505b/src/modules/imageresizer/dll/ImageResizerExt.vcxproj.filters#L14 https://github.com/microsoft/PowerToys/blob/9591d75d4fd9c1e7db1187bdb4eab4948f23505b/src/modules/imageresizer/ui/Views/MainWindow.xaml.cs#L41

yaner-here avatar Sep 07 '24 02:09 yaner-here

I accidentally uninstalled my old version (unfortunately don't remember its number...) with which I used to batch resize raw files, and basically used it to convert CR2 to PNG. Installed v0.85.1 today, and when I select a CR2 file, the resize option is nowhere to be found. It appears when I select a PNG/JPG/etc, but not CR2. :( I have the extensions installed. Doesn't seem to help

ShalfeyTakagi avatar Oct 11 '24 20:10 ShalfeyTakagi

If you run Image Resizer manually, you can still resize your files. On my machine, Image Resizer is located here: "C:\Users\myname\AppData\Local\PowerToys\PowerToys.ImageResizer.exe". I have just tested on some .cr2 files.

Running the executable manually will open up a file dialog which lets you select the files you want, instead of using the right-click menu. Please note that you will have to select All files from the drop-down in the bottom-right, too:

Image

Image Resizer also lets you use the command line to specify files.

I realise this is a workaround and isn't ideal, but hopefully it helps until the problem is fixed.

daverayment avatar Mar 02 '25 00:03 daverayment

Still not available in 2025 ? .-.

Image

jettisonMAMAN avatar Jul 24 '25 13:07 jettisonMAMAN