User 4ceb4fe234
01-04-2008 11:17:06
Hi everybody,
just another question about image rendering. We are using MarvinBeans 5.0.0 to render molfiles to png.
The resulting images should have a fixed size (e.g. 200x200). Is there a possibility to set a maximum scale, i.e. when the calculated scaling factor is larger than the maximum scale the maximum scale should be used. Otherwise small molecules like benzene would be very large while other larger molecules containing a benzene ring somewhere would have very small benzene rings.
When I use the scale parameter, larger molecules may be cut at the edges of the images.
It would be very nice if I the scaling would be reduced automatically if the resulting images does not fit in the given dimensions.
Thanks in advance!
Helge
just another question about image rendering. We are using MarvinBeans 5.0.0 to render molfiles to png.
The resulting images should have a fixed size (e.g. 200x200). Is there a possibility to set a maximum scale, i.e. when the calculated scaling factor is larger than the maximum scale the maximum scale should be used. Otherwise small molecules like benzene would be very large while other larger molecules containing a benzene ring somewhere would have very small benzene rings.
When I use the scale parameter, larger molecules may be cut at the edges of the images.
It would be very nice if I the scaling would be reduced automatically if the resulting images does not fit in the given dimensions.
Thanks in advance!
Helge