GET /api/v1/scannerdb/scan_reports/628/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "admin_comment": null,
    "attachments": [
        "https://www.openpaper.work/api/v1/scannerdb/scan_report_attachments/3630/?format=api",
        "https://www.openpaper.work/api/v1/scannerdb/scan_report_attachments/3631/?format=api",
        "https://www.openpaper.work/api/v1/scannerdb/scan_report_attachments/3632/?format=api",
        "https://www.openpaper.work/api/v1/scannerdb/scan_report_attachments/3633/?format=api"
    ],
    "creation_date": "2024-05-16T13:08:14.572315Z",
    "id": 628,
    "last_update": "2024-05-16T13:18:50.509879Z",
    "locale": "fr_FR",
    "moderated": true,
    "os": "Linux",
    "scan_library": "Libinsane 1.0.10-9-g6dfde56",
    "scan_program": "IronScanner 3.0.2.dev40+g091001b.d20240514",
    "scan_source": "flatbed",
    "scanner": "https://www.openpaper.work/api/v1/scannerdb/scanners/398/?format=api",
    "scanner_type": "flatbed",
    "sealed": false,
    "successful": true,
    "url": "https://www.openpaper.work/api/v1/scannerdb/scan_reports/628/?format=api",
    "user_url": "https://www.openpaper.work/scannerdb/report/628/",
    "data": {
        "system": {
            "versions": {
                "pillow": "10.3.0",
                "scan_library": "Libinsane 1.0.10-9-g6dfde56",
                "test_program": "IronScanner 3.0.2.dev40+g091001b.d20240514"
            },
            "sys_cpu_freq": 3700,
            "sys_cpu_count": 12,
            "sys_os_name": "posix",
            "sys_platform_architecture": "('64bit', 'ELF')",
            "sys_platform_distribution": "('debian', 'n/a', 'Debian GNU/Linux')",
            "sys_platform_machine": "x86_64",
            "sys_platform_mem": 67356737536,
            "sys_platform_processor": "",
            "sys_software_python": "3.11.9 (main, Apr 10 2024, 13:16:36) [GCC 13.2.0]",
            "sys_software_release": "6.7.12",
            "sys_software_system": "Linux",
            "sys_libinsane_version": "1.0.10-9-g6dfde56"
        },
        "user": {
            "name": "plumbear",
            "comment": ""
        },
        "scantest": {
            "successful": 1,
            "config": {
                "source": "flatbed",
                "mode": "Color",
                "resolution": 300
            }
        },
        "scanner": {
            "type": "flatbed",
            "vendor": "HP",
            "model": "photosmart premium c309g-m",
            "nicename": "libinsane:sane:hpaio:/net/photosmart_premium_c309g-m?ip=10.1.1.16&queue=false",
            "devid": "HP photosmart premium c309g-m",
            "fullname": "HP photosmart premium c309g-m (libinsane:sane:hpaio:/net/photosmart_premium_c309g-m?ip=10.1.1.16&queue=false)",
            "sources": "['flatbed']",
            "options": {
                "mode": {
                    "title": "Scan mode",
                    "desc": "Selects the scan mode (e.g., lineart, monochrome, or color).",
                    "type": "<GType gchararray (64)>",
                    "unit": "<enum LIBINSANE_UNIT_NONE of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT of type Libinsane.Capability>",
                    "constraint": "['LineArt', 'Gray', 'Color']",
                    "initial_value": "Color"
                },
                "resolution": {
                    "title": "Scan resolution",
                    "desc": "Sets the resolution of the scanned image.",
                    "type": "<GType gint (24)>",
                    "unit": "<enum LIBINSANE_UNIT_DPI of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT of type Libinsane.Capability>",
                    "constraint": "[75, 100, 150, 200, 300, 600, 1200, 2400, 4800]",
                    "initial_value": "300"
                },
                "contrast": {
                    "title": "Contrast",
                    "desc": "Controls the contrast of the acquired image.",
                    "type": "<GType gint (24)>",
                    "unit": "<enum LIBINSANE_UNIT_NONE of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT of type Libinsane.Capability>",
                    "constraint": "[-127, 127, 0]",
                    "initial_value": "0"
                },
                "brightness": {
                    "title": "Brightness",
                    "desc": "Controls the brightness of the acquired image.",
                    "type": "<GType gint (24)>",
                    "unit": "<enum LIBINSANE_UNIT_NONE of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT of type Libinsane.Capability>",
                    "constraint": "[-127, 127, 0]",
                    "initial_value": "0"
                },
                "compression": {
                    "title": "Compression",
                    "desc": "Selects the scanner compression method for faster scans, possibly at the expense of image quality.",
                    "type": "<GType gchararray (64)>",
                    "unit": "<enum LIBINSANE_UNIT_NONE of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT of type Libinsane.Capability>",
                    "constraint": "['None', 'JPEG']",
                    "initial_value": "None"
                },
                "jpeg-quality": {
                    "title": "JPEG compression factor",
                    "desc": "Sets the scanner JPEG compression factor. Larger numbers mean better compression, and smaller numbers mean better image quality.",
                    "type": "<GType gint (24)>",
                    "unit": "<enum LIBINSANE_UNIT_NONE of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT | LIBINSANE_CAPABILITY_INACTIVE of type Libinsane.Capability>",
                    "constraint": "[0, 100, 0]",
                    "initial_value": "(Exception: libinsane-quark: Libinsane opt[jpeg-quality]->get_value() error: 0x40000008, Access denied (9))"
                },
                "batch-scan": {
                    "title": "Batch scan",
                    "desc": "Enables continuous scanning with automatic document feeder (ADF).",
                    "type": "<GType gboolean (20)>",
                    "unit": "<enum LIBINSANE_UNIT_NONE of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT of type Libinsane.Capability>",
                    "constraint": "[]",
                    "initial_value": "False"
                },
                "source": {
                    "title": "Scan source",
                    "desc": "Selects the scan source (such as a document-feeder).",
                    "type": "<GType gchararray (64)>",
                    "unit": "<enum LIBINSANE_UNIT_NONE of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT of type Libinsane.Capability>",
                    "constraint": "['Flatbed']",
                    "initial_value": "Flatbed"
                },
                "duplex": {
                    "title": "Duplex",
                    "desc": "Enables scanning on both sides of the page.",
                    "type": "<GType gboolean (20)>",
                    "unit": "<enum LIBINSANE_UNIT_NONE of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT | LIBINSANE_CAPABILITY_INACTIVE of type Libinsane.Capability>",
                    "constraint": "[]",
                    "initial_value": "(Exception: libinsane-quark: Libinsane opt[duplex]->get_value() error: 0x40000008, Access denied (9))"
                },
                "length-measurement": {
                    "title": "Length measurement",
                    "desc": "Selects how the scanned image length is measured and reported, which is impossible to know in advance for scrollfed scans.",
                    "type": "<GType gchararray (64)>",
                    "unit": "<enum LIBINSANE_UNIT_NONE of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT of type Libinsane.Capability>",
                    "constraint": "['Unknown', 'Approximate', 'Padded']",
                    "initial_value": "Padded"
                },
                "tl-x": {
                    "title": "Top-left x",
                    "desc": "Top-left x position of scan area.",
                    "type": "<GType gdouble (60)>",
                    "unit": "<enum LIBINSANE_UNIT_MM of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT of type Libinsane.Capability>",
                    "constraint": "[0.0, 215.89999389648438, 0.0]",
                    "initial_value": "0.0"
                },
                "tl-y": {
                    "title": "Top-left y",
                    "desc": "Top-left y position of scan area.",
                    "type": "<GType gdouble (60)>",
                    "unit": "<enum LIBINSANE_UNIT_MM of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT of type Libinsane.Capability>",
                    "constraint": "[0.0, 296.9259948730469, 0.0]",
                    "initial_value": "0.0"
                },
                "br-x": {
                    "title": "Bottom-right x",
                    "desc": "Bottom-right x position of scan area.",
                    "type": "<GType gdouble (60)>",
                    "unit": "<enum LIBINSANE_UNIT_MM of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT of type Libinsane.Capability>",
                    "constraint": "[0.0, 215.89999389648438, 0.0]",
                    "initial_value": "215.89999389648438"
                },
                "br-y": {
                    "title": "Bottom-right y",
                    "desc": "Bottom-right y position of scan area.",
                    "type": "<GType gdouble (60)>",
                    "unit": "<enum LIBINSANE_UNIT_MM of type Libinsane.Unit>",
                    "capabilities": "<flags LIBINSANE_CAPABILITY_SW_SELECT of type Libinsane.Capability>",
                    "constraint": "[0.0, 296.9259948730469, 0.0]",
                    "initial_value": "296.9259948730469"
                }
            }
        }
    }
}