Skip to content

Commit

Permalink
887 When saving in PNG and SVG format, files have low resolution when…
Browse files Browse the repository at this point in the history
… opened (Ketcher Remote) (#1210)
  • Loading branch information
Wadym authored Aug 9, 2023
1 parent 18bd5dc commit 894ae8b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions utils/indigo-service/backend/service/v2/indigo_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1519,8 +1519,6 @@ def render():
# indigo = md.struct._session
# indigo = indigo_init(data["options"])
indigo.setOption("render-coloring", True)
indigo.setOption("render-image-width", data["width"])
indigo.setOption("render-image-height", data["height"])
content_type = data["output_format"]
if "render-output-format" in data["options"]:
rof = data["options"]["render-output-format"]
Expand Down
2 changes: 0 additions & 2 deletions utils/indigo-service/backend/service/v2/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ class IndigoRendererSchema(InputFormatSchema):
output_format = fields.Str(
missing="image/svg+xml", validate=OneOf(images_formats)
)
width = fields.Str(missing="200px")
height = fields.Str(missing="200px")
struct = fields.Str(missing=None)
query = fields.Str(missing=None)
options = fields.Dict(missing={})
Expand Down

0 comments on commit 894ae8b

Please sign in to comment.