.. index:: pair: enum; CanvasClip .. _doxid-namespace_p1_1_1_image_sdk_1a1d547bdd93d336ee760646d69b8733fa: enum P1::ImageSdk::CanvasClip ============================= Overview ~~~~~~~~ Defines how to handle non-rectangular or non-upright canvas. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include enum CanvasClip { :ref:`CanvasClipNone` = 1, :ref:`CanvasClipWarpLoose` = 2, :ref:`CanvasClipMaintainDimensions` = 3, }; .. _details-namespace_p1_1_1_image_sdk_1a1d547bdd93d336ee760646d69b8733fa: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Defines how to handle non-rectangular or non-upright canvas. Enum Values ----------- .. index:: pair: enumvalue; CanvasClipNone .. _doxid-namespace_p1_1_1_image_sdk_1a1d547bdd93d336ee760646d69b8733faa0d9a2a9a4c57d3d68fe730eb819a406e: .. ref-code-block:: cpp :class: doxyrest-title-code-block CanvasClipNone Canvas has the full RAW image. This option will consider all input pixels, but may output blank pixels. .. index:: pair: enumvalue; CanvasClipWarpLoose .. _doxid-namespace_p1_1_1_image_sdk_1a1d547bdd93d336ee760646d69b8733faa3c5c8204dc31aefba150e54b62fcf713: .. ref-code-block:: cpp :class: doxyrest-title-code-block CanvasClipWarpLoose Clip warped edges. This option will only consider the maximum interior bounding box, and all pixels will be valid. .. index:: pair: enumvalue; CanvasClipMaintainDimensions .. _doxid-namespace_p1_1_1_image_sdk_1a1d547bdd93d336ee760646d69b8733faae87ce75f3b98b730587e070a7e45b2c4: .. ref-code-block:: cpp :class: doxyrest-title-code-block CanvasClipMaintainDimensions Maintain raw image dimensions. This option will result a canvas size matching the sensor resolution and be centered around the principal point This is the default option