[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ccp4bb]: Diffraction images to gif/jpg
*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
>
> Does anyone have code to convert diffraction images to graphics format
> (gif/jpg etc)? Maybe an addon to MOSFLM?
>
> Thanks in advance.
Ahh - cat's out of the bag now.
You can create a (Base64 encoded) Jpeg image from any MOSFLM readable
image, thus:
(Note that this is not documented, and entirely new...)
MOSFLM => DETECTOR MARCCD
MOSFLM => IMAGE thisimage_001.mccd
MOSFLM => XGUI ON
MOSFLM => GO
NeoCtrl => CREATE_IMAGE FILENAME thisimage
NeoCtrl => RETURN
MOSFLM => EXIT
(outside mosflm)
> cat thisimage | mimencode -u > this.jpg
You should find that the jpeg you get is sizewise the same as the detector
and should be fairly reasonably contrasted.
I hope that this is useful!
Graeme
ps - this will require a fairly recent release of mosflm...