org.bluez.obex.Image(5)
π org.bluez.obex.Image β the manual page, bestie π
okay so welcome to the org.bluez.obex.Image(5) manual page β yes, it's the BlueZ D-Bus OBEX Image API documentation, and we're gonna get through it together. no cap. π«Ά
πΈ Name πΈ
org.bluez.obex.Image β BlueZ D-Bus OBEX Image API documentation. that's the whole name section, periodt. β¨
π Interface π
- Service β
org.bluez.obex - Interface β
org.bluez.obex.Image1[experimental] π - Object path β
[Session object path]
β¨ Methods β¨
πΌοΈ object, dict Get(string targetfile, string handle, dict description)
Retrieves the image corresponding to the handle and the description, as one of the descriptions retrieved by GetImageProperties, and stores it in a local file. literally fetching the pic and saving it locally, slay. π
If the "transform" property description exists, it should be set to one of the value listed by GetImageProperties for this description. so yeah, pick from the list, bestie.
If description is an empty dict, the native image will be retrieved. empty dict = native pic, got it. π
π Possible errors
org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.Failed
π§ array{dict} Properties(string handle)
Retrieves the image properties corresponding to the handle. it's giving property reveal. π
The first dict entry is mandatory and correspond to 'handle' and 'name' of the image.
The second dict entry is mandatory and correspond to the native description ('type':'native') of the image.
The following dict entries are optional and correspond to variant descriptions of the image. If the 'transform' entry exists in the description, it lists the available possible image transformations and should be set to one of them before using the description as parameter to GetImage. iykyk β set that transform first. π
π Possible property values
string typeβ Type of dict properties. Mandatory for each dict. Possible values:"native","variant"string encodingβ File encoding format. Possible values:"BMP","GIF","JPEG","JPEG2000","PNG","WBMP"string pixelβ File encoding format size of form"<width>*<height>".uint64 sizeβ File size.uint64 maxsizeβ File maximum size.string transformationβ List of available transformations separated by space. Possible values:"crop","fill","stretch"
π Possible errors
org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.Failed
π¦ object, dict GetThumbnail(string targetfile, string handle)
Retrieves the image thumbnail corresponding to the handle and stores it in a local file. tiny pic energy, iconic. π
π Possible errors
org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.Failed
okay bestie, that's the whole page β sourced from BlueZ, dated August 2024, and it's the org.bluez.obex.Image(5) page. bye, ily, go save some images πβ¨
π¦ where this page comes from
- arch rolling: bluez-obex 5.87-2 Β· GPL-2.0-only
- nixpkgs unstable: bluez 5.87
- ubuntu stonking: bluez 5.87-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms