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

bug: images with split bug after upload #3372

Closed
soutiagojose opened this issue Jul 4, 2023 · 4 comments · Fixed by #3382
Closed

bug: images with split bug after upload #3372

soutiagojose opened this issue Jul 4, 2023 · 4 comments · Fixed by #3382
Assignees
Labels
bug managed on taiga This issue has been moved to our project at Taiga.io
Milestone

Comments

@soutiagojose
Copy link
Contributor

soutiagojose commented Jul 4, 2023

Steps To Reproduce

  1. Shift+k
  2. Choose the image
  3. Select
  4. Upload

Expected behavior

When the image was sent to the penpot, that the transparent background did not have any pixels in the area and that the image was exactly like the original file

Actual behavior

After uploading any image, note that at the edges, there is a line of pixels equivalent to the pixels on the opposite side of the border. That is, at the top of the image there will be a pixel line that is equal to the pixel line at the bottom of the image. The same goes for left and right. Which leads us to believe that when sending the penpot, it creates a split of the image, placing the main one in the center and copies one above, left, right and bottom of the image, but the duplicates are cut, leaving only the pixels on their edges.

Screenshots or video

image
image
image
image

On the left side, the image sent by upload, on the right, a board created inside the penpot and then exported in png that ended up being the image on the left.

@soutiagojose soutiagojose changed the title bug: Transparent background images with split bug after upload bug: images with split bug after upload Jul 4, 2023
@elhombretecla
Copy link
Contributor

Hi @allytiago thank you so much for your feedback.

We are going to manage this issue from Taiga. Here is teh link to track it :)

https://tree.taiga.io/project/penpot/issue/5583

@elhombretecla elhombretecla added the managed on taiga This issue has been moved to our project at Taiga.io label Jul 4, 2023
@niwinz
Copy link
Contributor

niwinz commented Jul 4, 2023

@allytiago can you upload here the images you have used? Thanks

@soutiagojose
Copy link
Contributor Author

@allytiago can you upload here the images you have used? Thanks
I used this png for testing. When I zoomed in until I saw the pixel grid, the lines were more visible.
image

@Alotor Alotor self-assigned this Jul 6, 2023
@Alotor Alotor added this to the 1.19.0 milestone Jul 6, 2023
@Alotor Alotor linked a pull request Jul 6, 2023 that will close this issue
@Alotor
Copy link
Member

Alotor commented Jul 6, 2023

Thanks @allytiago we've found the issue and will be fixed in the next release.

@Alotor Alotor mentioned this issue Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug managed on taiga This issue has been moved to our project at Taiga.io
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants