Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
Bon::Image
Class methods
dimensions
(path :
String
) :
Dimensions
Source
downsample_center_crop_to_mono
(source :
String
, output :
String
, target_width :
Int32
, target_height :
Int32
, threshold = 0.125, dither = "none") :
Nil
Source
jpeg_dimensions
(path :
String
) :
Dimensions
Source
page_size
(path :
String
, config :
Config
) :
PDF::PageSize
Source
page_size
(path :
String
, ppi :
Int32
) :
PDF::PageSize
Source
png_dimensions
(path :
String
) :
Dimensions
Source
read_png
(path :
String
) :
Raster
Source
wrap_as_typst_pdf
(source :
String
, output :
String
, temp_dir :
String
, config :
Config
, dry_run :
Bool
, output_io :
IO
=
STDOUT
, error_io :
IO
=
STDERR
, verbose :
Verbose
|
Nil
= nil) :
Nil
Source
Nested types
Bon::Image::Dimensions
Bon::Image::Raster