microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.28k stars 6.55k forks source link

ImageResizer: Add Convert to JPG #3287

Closed Mr-Pingu closed 4 years ago

Mr-Pingu commented 4 years ago

Summary of the new feature/enhancement

Would like to convert PNG to JPG as well. I am running a webshop and many of the pictures are delivered from vendors in PNG format. Which are bigger in size than JPG for normal photos

Wish

Would like to not only resize but also convert to JPG if possible.

Proposed solution

Make checkbox: 'convert aswell'

crutkas commented 4 years ago

@bricelam thoughts?

Jay-o-Way commented 4 years ago

If you're gonna add possibility for one filetype conversion, then you better add all of them, because you know in advance people will ask for them.

bricelam commented 4 years ago

@crutkas Years ago, I imagined crating a separate utility (Image Converter?) to do this. I'm a firm believer in the single responsibility principle. 😉

Mr-Pingu commented 4 years ago

@crutkas Years ago, I imagined crating a separate utility (Image Converter?) to do this. I'm a firm believer in the single responsibility principle. 😉

Honestly, this seems a bit taken too strict. Don't get me wrong, don't want to pick a fight but just an healthy discussion.

Idea of this powertoy is to quickly resize pictures to fit for quick use, isn't it? Atleast that's to me it's strength. For advanced / batch resizing there many more programs that do a better job, but for a quick resize to use it on the web it's perfect. But take for example a TIFF file. Why would someone resize a TIFF file? I mean what's the point of resizing a quality-focused (over compression / storage) encoding and ending up with a big file anyway but yeah reduced the resolution. I don't see many practical usecases for this but that might be me who's shortsighted?

To me you could easily add this as an option to a profile, so you could have for example have two profiles for eg Medium: Medium - Force JPG-encoding Medium - Keep source encoding

This way it doesn't defeat the core purpose / identity of the utility but still give the users the option to force a format if they want.

Let me put it this way: What would you find the best way to resize any give photo for quick use on the web. How would that single purpose utility look like?

I can understand your point of you from a technical view. Technically, you are right and there are 2 repsonsibilities here. 1 Resizing, 1 converting. But practically these goes often together.

bricelam commented 4 years ago

Note, I’m just giving my two cents based on my experience of maintaining the utility for the past twelve years. The Power Toys team will ultimately decide how to evolve the tool going forward.

There are plenty of more powerful utilities out there that can do a lot more. I always strived to keep Image Resizer simple—the UI could quickly get overwhelmed if more features are introduced.

crutkas commented 4 years ago

I agree with @bricelam. We aren't aiming to be the end all here. We also get into the world where you can select multiple file types at once then you're dealing with different permutations. IMO, there are tools far better and converting and you'll get better results.

You also start getting into quality issues. JPG to PNG, JPG to GIF, GIF to JPG. All these have a bunch of options for how the image quality will be.

I just can't see us doing this as the tool then starts becoming very heavy

SvenBudak commented 2 years ago

This tool should really allow to convert to other formats...

torchsmith commented 1 year ago

At least make an additional powertoy for image conversion. Would be extremely useful to power users.

Bartmax commented 1 year ago

convert images from png to jpg is the most common optimization size reduction task, even more common that resize, so I believe that one and simple option should be in a "resize" tool from mpov. It's not about having all, it's about having the most common file reducing size strategy.

ahydronous commented 1 year ago

@crutkas

I assume the Powertools team has access to Windows telemetry. Could just check which image types are most common and only add those.

Seems to me that adding conversion between .jpg, .png, .webp, .bmp, .heic, .avif (future proofing) and maybe .gif would satisfy the overwhelming majority of users. Power+ users that would need support for more exotic formats probably would be (begrudgingly) understanding about having to download a dedicated tool.

arya-coding commented 1 year ago

A right click on an image and within the menu you could convert images. Conversion on .jpg, .png, .webp, .heic would already cover most use cases

neuromask commented 1 year ago

Especially needed for heic to jpg format, since not all services still support HEIC formats.

tazztone commented 1 week ago

wanted to resize+convert a TIFF to jpg. :(