Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Identify to get image width and height #1734

Merged
merged 2 commits into from
Oct 11, 2021

Conversation

brianpopow
Copy link
Contributor

This PR changes the ImageSharpProcessor to use Identify to get the image width and height, instead of decoding the complete image.

Also the ImageSharp version is updated to 1.0.4. I have seen that the piranha core project has switched to net6.0. The hotfix version 1.0.4 of ImageSharp, which occurs with .net6.0 and decoding pngs

@dnfadmin
Copy link

dnfadmin commented Oct 11, 2021

CLA assistant check
All CLA requirements met.

@brianpopow
Copy link
Contributor Author

I noticed, that the cropping and scaling comments say that the image will be saved as jpg, but instead they save the image in the format of the input image. Is that how it supposed to be or should it be changed to really save the image to jpeg?

@tidyui tidyui added this to the Version 10.0 milestone Oct 11, 2021
@tidyui tidyui merged commit 3165464 into PiranhaCMS:master Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants