GPhoto2::CameraFolder::Compression
Provides methods to compress the contents of the folder.
Instance methods
to_zip_file(io : IO, root : String | Nil = nil) : Nil
Writes the compressed contents of the folder to io.
to_zip_file(root : String | Nil = nil) : File
Returns a temporary file with the compressed contents of the folder.
to_zip_file(root : String | Nil = nil, &) : Nil
Yields a temporary file with the compressed contents of the folder.
NOTE: the temporary file will be deleted after the block returns.