epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
490 stars 167 forks source link

Recognize function doesn't support svg format #1482

Open AnaMoskvina opened 2 years ago

AnaMoskvina commented 2 years ago

Steps to Reproduce

  1. Launch Ketcher
  2. Click on "Open..." icon on the top menu
  3. Select the "OPEN FROM IMAGE" tab
  4. Select the *.svg format in the window
  5. Click on the "Open" button

Expected behavior The recognize operation from *svg file format is performed successfully.

Actual behavior The "Error Message Incorrect Content-Type 'image/svg+xml', should be one of [image/png, image/jpeg, image/gif, image/tiff, image/bmp, image/cmu-raster, image/x-portable-bitmap]" is displayed in the pop-up window

image

structure.zip

OS: [Windows NT 10.0 Win64; x64] Browsers: Google Chrome: Version 100.0.4896.88/FireFox: Version 99.0.1 (64-bit) Ketcher v2.4.2-200-g5533ff35

ZhannaNovikova commented 2 years ago

Related issue in the Indigo: https://github.com/epam/Indigo/issues/712