DicomObjects.NET.8.48 Documentation
DicomObjects.Video Namespace / VideoCompressionOptions Class / OutputSize Property






In This Topic
    OutputSize Property
    In This Topic
    The size of the output frames to be encoded
    Syntax
    'Declaration
     
    
    Public Property OutputSize As System.Drawing.Size
    'Usage
     
    
    Dim instance As VideoCompressionOptions
    Dim value As System.Drawing.Size
     
    instance.OutputSize = value
     
    value = instance.OutputSize
    public System.Drawing.Size OutputSize {get; set;}
    public read-write property OutputSize: System.Drawing.Size; 
    public function get,set OutputSize : System.Drawing.Size
    public: __property System.Drawing.Size get_OutputSize();
    public: __property void set_OutputSize( 
       System.Drawing.Size value
    );
    public:
    property System.Drawing.Size OutputSize {
       System.Drawing.Size get();
       void set (    System.Drawing.Size value);
    }
    Remarks
    By default, this is the same as the size of the DICOm frames, but some codecs (especially when combined with DICOM rules) have specific requirements, so this can be set independently. If the input and output rates differ, then the ffmpeg "pad" and/or "scale" filters are change the size as required.
    Requirements