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

The file size is the same when saved to png #5612

Closed
AnnaKosol opened this issue Sep 30, 2024 · 3 comments · Fixed by #5722 or #5835
Closed

The file size is the same when saved to png #5612

AnnaKosol opened this issue Sep 30, 2024 · 3 comments · Fixed by #5722 or #5835
Assignees
Labels
bug Export to SVG/PNG Bucket: Bugs related to SVG/PNG export Priority: High

Comments

@AnnaKosol
Copy link
Collaborator

Steps to Reproduce

  1. add a benzene ring
  2. set low resolution in the Settings
  3. save to png (svg)
  4. set high resolution in the Settings
  5. save to png (svg)

Expected behavior
the file size should be different depending on the low and high resolution

Actual behavior
the file size is the same
Screenshot 2024-09-30 at 17 15 08

Environment details:

Issues found while testing epam/Indigo#2175

@AliaksandrDziarkach
Copy link
Collaborator

Looks like ketcher send different option when generate prview and when save file.

@AliaksandrDziarkach AliaksandrDziarkach transferred this issue from epam/Indigo Sep 30, 2024
@AnnaKosol AnnaKosol added the Export to SVG/PNG Bucket: Bugs related to SVG/PNG export label Oct 1, 2024
@AlexanderSavelyev AlexanderSavelyev added this to the Ketcher 2.26.0-rc.2 milestone Oct 7, 2024
@AnnaKosol AnnaKosol changed the title Preview: the file size is the same when saved to png The file size is the same when saved to png Oct 7, 2024
@rrodionov91 rrodionov91 removed their assignment Oct 8, 2024
@NataliaLoginova NataliaLoginova self-assigned this Oct 8, 2024
@NataliaLoginova NataliaLoginova linked a pull request Oct 11, 2024 that will close this issue
9 tasks
rrodionov91 pushed a commit that referenced this issue Oct 13, 2024
Co-authored-by: Natalia_Loginova1 <Natalia_Loginova1@epam.com>
@AlexeyGirin
Copy link
Collaborator

Not fixed.
Put on the canvas following 4k png wallpaper.
Save to PNG with low and with high resolution - both files are identical

@AlexeyGirin
Copy link
Collaborator

Fixed.

@NataliaLoginova NataliaLoginova linked a pull request Oct 22, 2024 that will close this issue
9 tasks
rrodionov91 pushed a commit that referenced this issue Oct 22, 2024
Co-authored-by: Natalia_Loginova1 <Natalia_Loginova1@epam.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Export to SVG/PNG Bucket: Bugs related to SVG/PNG export Priority: High
Projects
None yet
6 participants