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

Image has light gray borders after resizing #23

Closed
DarkEyeDragon opened this issue Jul 5, 2024 · 2 comments
Closed

Image has light gray borders after resizing #23

DarkEyeDragon opened this issue Jul 5, 2024 · 2 comments

Comments

@DarkEyeDragon
Copy link

DarkEyeDragon commented Jul 5, 2024

Describe the bug
After resizing the image there is a 1px wide border seemingly in the default border color

To Reproduce

image.ScaleByHeight(300).SaveAs("file.jpg");

Version

  • v1.4.1

Expected behavior
rescale without having the gray borders.

Screenshots
image
Edges of the image are extended using Windows Paint.

Desktop (please complete the following information):

  • OS: Windows 11
@LazZiya LazZiya pinned this issue Jul 5, 2024
@LazZiya
Copy link
Owner

LazZiya commented Jul 11, 2024

I did several tries, and all worked as expected, no gray border even after extending the edges with windows paint:

image

Make sure the original image do not contain the border.

@DarkEyeDragon
Copy link
Author

Wasn't able to get it sorted. But most likely something on my end then. Managed to get it working using another library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants