Can MarvinSketch be set to create cropped SVG files?

User e3f03c303b

22-05-2014 04:26:41

Basically I've been using MarvinSketch to create SVG files for Wikipedia and I would sure like it if the chemical structures I create using MarvinSketch are automatically cropped when I create them instead of having to go through all the bother of cropping them with a third party software like Scribus. 

ChemAxon 2c555f5717

22-05-2014 07:59:41

Dear Fusion,


   Could you tell me more about this? I do not understand what do you mean by croping the image. Could it solve your problem to change it to be transparent?


Regards:
Balázs 

User e3f03c303b

22-05-2014 08:08:54

By cropping I mean ridding images of empty space (beyond that expected due to the mere fact that images are rectangular in shape) when exporting to SVG. For instance, I attached an image of chlorpromazine that's got heaps of empty space in it. I already export them transparently, like in the SVG I attached. 

ChemAxon f052bdfe3c

23-05-2014 08:21:13

Hi,


Currently there is no "crop" in  the classical sense in Marvin. What you can try - and I belive  it should work in your case- , to select your structure then choose "copy as png" from the Edit menu.


Best Regards,


Efi

User e3f03c303b

23-05-2014 08:37:54

The only options available are "copy" and "copy as".

ChemAxon f052bdfe3c

23-05-2014 11:31:30

If you click on "copy as",  you could see a list which contains png, jpg, emf, and bmp picture format (and several other molecule file formats) .

User e3f03c303b

23-05-2014 11:41:46

This is the image I got out of it for lurasidone. Not cropped though.

ChemAxon 23cc8b5e66

23-05-2014 14:30:10










fusion809 wrote:

This is the image I got out of it for lurasidone. Not cropped though.



Hi, I don't know why do you say it is not cropped?
1. Edit>Select All
2. Edit>Copy As
3. Select "PNG Image" from the 'Copy Special' popup
4. Click "OK"
5. Open Irfanview
6. Paste


The result is:


I attach the file, too.

ChemAxon 23cc8b5e66

26-05-2014 09:08:29










viktorw wrote:










fusion809 wrote:

This is the image I got out of it for lurasidone. Not cropped though.



Hi, I don't know why do you say it is not cropped?
1. Edit>Select All
2. Edit>Copy As
3. Select "PNG Image" from the 'Copy Special' popup
4. Click "OK"
5. Open Irfanview
6. Paste


The result is:


I attach the file, too.



I do not attach, your file is cropped, too! Please open it in browser: