Module moc::deser::img

source ·
Expand description

Contains code to generate an image from a given MOC

Functions§

  • Returns an RGBA array (each pixel is made of 4 successive u8: RGBA).
  • Returns an RGBA array (each pixel is made of 4 successive u8: RGBA) using the Mollweide projection.
  • Params
  • Automatically determines the center of the projection and if the projection to be used is an allsky (Mollweide) ou bound limited (Sinus) projection. In the first case, the image size along the x-axis is 2 * size_y, and size_y
  • Params
  • Automatically determines the center of the projection and if the projection to be used is an allsky (Mollweide) ou bound limited (Sinus) projection. In the first case, the image size along the x-axis is 2 * size_y, and size_y