class GPhoto2::CameraFileInfo::Preview

Overview

Represents preview information.

Included Modules

Defined in:

gphoto2/camera_file_info/preview.cr

Instance Method Summary

Instance methods inherited from module GPhoto2::ManagedStruct(LibGPhoto2::CameraFileInfoPreview)

ptr : Pointer(T) ptr

Constructor methods inherited from module GPhoto2::ManagedStruct(LibGPhoto2::CameraFileInfoPreview)

new(ptr : Pointer(T) | Nil = nil) new

Instance methods inherited from module GPhoto2::Struct(LibGPhoto2::CameraFileInfoPreview)

ptr : Pointer(T) ptr, ptr? : Pointer(T) | Nil ptr?, to_unsafe : Pointer(T) to_unsafe, wrapped : T wrapped

Constructor methods inherited from module GPhoto2::Struct(LibGPhoto2::CameraFileInfoPreview)

new(ptr : Pointer(T) | Nil = nil) new

Instance methods inherited from class GPhoto2::CameraFileInfo::Base

field?(field : Fields) field?, fields : Fields fields, size : UInt64 | Nil size, status : Status | Nil status, type : String | Nil type

Instance Method Detail

def height : Int32 | Nil #

Returns the height of the preview.


[View source]
def width : Int32 | Nil #

Returns the width of the preview.


[View source]