JustPaste.it

$ python scan.py test.png
Will write the scan result into test.png
Looking for scan devices ...
Qt: Untested Windows version 10.0 detected!
Found 2 devices
[twain:TWAIN Working Group:TWAIN2 FreeImage Software Scanner] : [TWAIN Working Group TWAIN2 FreeImage Software Scanner (unknown ; twain:TWAIN Working Group:TWAIN2 FreeImage Software Scanner)]
[wia2ll:{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000] : [EPSON Perfection V800/V850 (scanner ; wia2ll:{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000)]
Will use device wia2ll:{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000
warning: ../subprojects/libinsane/src/bases/wia/wia_ll.c:L884(load_opts): Unexpected type for prop 'sti_driver_version' (17) (type 3 instead of 8)
Using device {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000
Looking for scan sources ...
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L1936(lis_wia2lis_get_property): Unknown property 4128 (item_type=child)
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L1936(lis_wia2lis_get_property): Unknown property 4128 (item_type=child)
Available scan sources:
- flatbed
Will use scan source flatbed
[my debug]: set_opt(source, 'tl-x', 100)
Setting tl-x to 100
warning: ../subprojects/libinsane/src/bases/wia/wia_ll.c:L884(load_opts): Unexpected type for prop 'sti_driver_version' (17) (type 3 instead of 8)
- Old tl-x: 0
- Allowed values: [0, 2549, 1]
- Set flags: <flags LIBINSANE_SET_FLAG_INEXACT | LIBINSANE_SET_FLAG_MUST_RELOAD_OPTIONS | LIBINSANE_SET_FLAG_MUST_RELOAD_PARAMS of type Libinsane.SetFlag>
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L1936(lis_wia2lis_get_property): Unknown property 4128 (item_type=child)
- New tl-x: 100

[my debug] :set_opt(source, 'tl-y', 100)
Setting tl-y to 100
- Old tl-y: 0
- Allowed values: [0, 3509, 1]
- Set flags: <flags LIBINSANE_SET_FLAG_INEXACT | LIBINSANE_SET_FLAG_MUST_RELOAD_OPTIONS | LIBINSANE_SET_FLAG_MUST_RELOAD_PARAMS of type Libinsane.SetFlag>
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L1936(lis_wia2lis_get_property): Unknown property 4128 (item_type=child)
- New tl-y: 100

[my debug] :set_opt(source, 'br-x', 200)
Setting br-x to 200
- Old br-x: 2550
- Allowed values: [1, 2549, 1]
- Set flags: <flags LIBINSANE_SET_FLAG_INEXACT | LIBINSANE_SET_FLAG_MUST_RELOAD_OPTIONS | LIBINSANE_SET_FLAG_MUST_RELOAD_PARAMS of type Libinsane.SetFlag>
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L1936(lis_wia2lis_get_property): Unknown property 4128 (item_type=child)
- New br-x: 200

[my debug] :set_opt(source, 'br-y', 200)
Setting br-y to 200
- Old br-y: 3510
- Allowed values: [1, 3509, 1]
- Set flags: <flags LIBINSANE_SET_FLAG_INEXACT | LIBINSANE_SET_FLAG_MUST_RELOAD_OPTIONS | LIBINSANE_SET_FLAG_MUST_RELOAD_PARAMS of type Libinsane.SetFlag>
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L1936(lis_wia2lis_get_property): Unknown property 4128 (item_type=child)
- New br-y: 200

Options:
- item_name=Flatbed ([])
- full_item_name=0000\Root\Flatbed ([])
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L2172(convert_wia_int2lis): Unknown value 532487 for option 4101,item_flags
warning: ../subprojects/libinsane/src/bases/wia/wia_ll.c:L1282(wiall_opt_get_value): Failed to convert property value 4101, item_flags from item 0000\Root\Flatbed: 0x40000002 (Operation not supported)
error: ../subprojects/libinsane/src/workarounds/cache.c:L157(cache_get_value): item_flags->get_value() failed: 0x40000002, Operation not supported
Failed to read option item_flags: libinsane-quark: Libinsane opt[item_flags]->get_value() error: 0x40000002, Operation not supported (3)
- icm_profile_name=C:\windows\system32\spool\drivers\color\sRGB Color Space Profile.icm (['', 'C:\\windows\\system32\\spool\\drivers\\color\\sRGB Color Space Profile.icm', 'C:\\windows\\system32\\spool\\drivers\\color\\sRGB Color Space Profile.icm'])
- access_rights=read (['read'])
- optical_xres=6400 ([])
- optical_yres=6400 ([])
- preview=final (['final', 'preview'])
- supports_child_item_creation=1 ([])
- max_horizontal_size=8500 ([])
- max_vertical_size=11700 ([])
- min_horizontal_size=1 ([])
- min_vertical_size=1 ([])
- segmentation=true (['true'])
- show_preview_control=show_preview_control (['show_preview_control'])
- current_intent=none (['none'])
- item_category=flatbed ([])
- xres=300 ([50, 1200, 1])
- yres=300 ([50, 1200, 1])
- xpos=100 ([0, 2549, 1])
- ypos=100 ([0, 3509, 1])
- xextent=100 ([1, 2450, 1])
- yextent=100 ([1, 3410, 1])
- rotation=portrait (['landscape', 'portrait'])
- brightness=0 ([-1000, 1000, 1])
- contrast=0 ([-1000, 1000, 1])
- threshold=128 ([0, 255, 1])
- mode=Color (['Color', 'Gray', 'LineArt'])
- depth=24 ([1, 8, 24])
- preferred_format=<enum LIBINSANE_IMG_FORMAT_BMP of type __main__.LibinsaneImgFormat> ([])
- format=<enum LIBINSANE_IMG_FORMAT_BMP of type __main__.LibinsaneImgFormat> ([<enum LIBINSANE_IMG_FORMAT_BMP of type __main__.LibinsaneImgFormat>])
- compression=none (['none', 'bi_rle4'])
- tymed=file (['file'])
- channels_per_pixel=3 ([])
- bits_per_channel=8 ([])
- photometric_interp=white_1 (['white_0', 'white_1'])
- planar=0 ([])
- pixels_per_line=100 ([])
- number_of_lines=100 ([])
- item_size=30054 ([])
- buffer_size=131072 ([])
- filename_extension=BMP ([])
- warm_up_time=90000 ([])
- resolution=300 ([50, 75, 100, 125, 150, 175, 200, 225, 250, 275, 300, 325, 350, 375, 400, 425, 450, 475, 500, 525, 550, 575, 600, 625, 650, 675, 700, 725, 750, 775, 800, 825, 850, 875, 900, 925, 950, 975, 1000, 1025, 1050, 1075, 1100, 1125, 1150, 1175, 1200])
- tl-x=100 ([0, 2450, 1])
- tl-y=100 ([0, 3410, 1])
- br-x=200 ([1, 2549, 1])
- br-y=200 ([1, 3509, 1])
- dev_id={6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000 ([])
- vend_desc=EPSON ([])
- dev_desc=EPSON Perfection V800/V850 ([])
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L2172(convert_wia_int2lis): Unknown value 65537 for option 5,dev_type
warning: ../subprojects/libinsane/src/bases/wia/wia_ll.c:L1282(wiall_opt_get_value): Failed to convert property value 5, dev_type from item {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000: 0x40000002 (Operation not supported)
error: ../subprojects/libinsane/src/workarounds/cache.c:L157(cache_get_value): dev_type->get_value() failed: 0x40000002, Operation not supported
Failed to read option dev_type: libinsane-quark: Libinsane opt[dev_type]->get_value() error: 0x40000002, Operation not supported (3)
- port_name=\\.\Usbscan0 ([])
- dev_name=EPSON Perfection V800/V850 ([])
- server_name=local ([])
- remote_dev_id= ([])
- ui_clsid={00000000-0000-0000-0000-000000000000} ([])
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L2172(convert_wia_int2lis): Unknown value 0 for option 11,hw_config
warning: ../subprojects/libinsane/src/bases/wia/wia_ll.c:L1282(wiall_opt_get_value): Failed to convert property value 11, hw_config from item {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000: 0x40000002 (Operation not supported)
error: ../subprojects/libinsane/src/workarounds/cache.c:L157(cache_get_value): hw_config->get_value() failed: 0x40000002, Operation not supported
Failed to read option hw_config: libinsane-quark: Libinsane opt[hw_config]->get_value() error: 0x40000002, Operation not supported (3)
- baudrate= ([])
- sti_gen_capabilities=19 ([])
- wia_version=2.0 ([])
- driver_version=2.1.0.1 ([])
- pnp_id=\\?\usb#vid_04b8&pid_0151#5&4482d16&0&1#{6bdd1fc6-810f-11d0-bec7-08002be2092f} ([])
- user_name=[redacted]([])
- dps_document_handling_capabilities=flat ([])
- document_handling_status=flat_ready ([])
- firmware_version=1.00 ([])
- dps_optical_xres=6400 ([])
- dps_optical_yres=6400 ([])

Looking for scan sources ...
Available scan sources:
- flatbed
Will use scan source flatbed
Options:
- item_name=Flatbed ([])
- full_item_name=0000\Root\Flatbed ([])
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L2172(convert_wia_int2lis): Unknown value 532487 for option 4101,item_flags
warning: ../subprojects/libinsane/src/bases/wia/wia_ll.c:L1282(wiall_opt_get_value): Failed to convert property value 4101, item_flags from item 0000\Root\Flatbed: 0x40000002 (Operation not supported)
error: ../subprojects/libinsane/src/workarounds/cache.c:L157(cache_get_value): item_flags->get_value() failed: 0x40000002, Operation not supported
Failed to read option item_flags: libinsane-quark: Libinsane opt[item_flags]->get_value() error: 0x40000002, Operation not supported (3)
- icm_profile_name=C:\windows\system32\spool\drivers\color\sRGB Color Space Profile.icm (['', 'C:\\windows\\system32\\spool\\drivers\\color\\sRGB Color Space Profile.icm', 'C:\\windows\\system32\\spool\\drivers\\color\\sRGB Color Space Profile.icm'])
- access_rights=read (['read'])
- optical_xres=6400 ([])
- optical_yres=6400 ([])
- preview=final (['final', 'preview'])
- supports_child_item_creation=1 ([])
- max_horizontal_size=8500 ([])
- max_vertical_size=11700 ([])
- min_horizontal_size=1 ([])
- min_vertical_size=1 ([])
- segmentation=true (['true'])
- show_preview_control=show_preview_control (['show_preview_control'])
- current_intent=none (['none'])
- item_category=flatbed ([])
- xres=300 ([50, 1200, 1])
- yres=300 ([50, 1200, 1])
- xpos=100 ([0, 2549, 1])
- ypos=100 ([0, 3509, 1])
- xextent=100 ([1, 2450, 1])
- yextent=100 ([1, 3410, 1])
- rotation=portrait (['landscape', 'portrait'])
- brightness=0 ([-1000, 1000, 1])
- contrast=0 ([-1000, 1000, 1])
- threshold=128 ([0, 255, 1])
- mode=Color (['Color', 'Gray', 'LineArt'])
- depth=24 ([1, 8, 24])
- preferred_format=<enum LIBINSANE_IMG_FORMAT_BMP of type __main__.LibinsaneImgFormat> ([])
- format=<enum LIBINSANE_IMG_FORMAT_BMP of type __main__.LibinsaneImgFormat> ([<enum LIBINSANE_IMG_FORMAT_BMP of type __main__.LibinsaneImgFormat>])
- compression=none (['none', 'bi_rle4'])
- tymed=file (['file'])
- channels_per_pixel=3 ([])
- bits_per_channel=8 ([])
- photometric_interp=white_1 (['white_0', 'white_1'])
- planar=0 ([])
- pixels_per_line=100 ([])
- number_of_lines=100 ([])
- item_size=30054 ([])
- buffer_size=131072 ([])
- filename_extension=BMP ([])
- warm_up_time=90000 ([])
- resolution=300 ([50, 75, 100, 125, 150, 175, 200, 225, 250, 275, 300, 325, 350, 375, 400, 425, 450, 475, 500, 525, 550, 575, 600, 625, 650, 675, 700, 725, 750, 775, 800, 825, 850, 875, 900, 925, 950, 975, 1000, 1025, 1050, 1075, 1100, 1125, 1150, 1175, 1200])
- tl-x=100 ([0, 2450, 1])
- tl-y=100 ([0, 3410, 1])
- br-x=200 ([1, 2549, 1])
- br-y=200 ([1, 3509, 1])
- dev_id={6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000 ([])
- vend_desc=EPSON ([])
- dev_desc=EPSON Perfection V800/V850 ([])
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L2172(convert_wia_int2lis): Unknown value 65537 for option 5,dev_type
warning: ../subprojects/libinsane/src/bases/wia/wia_ll.c:L1282(wiall_opt_get_value): Failed to convert property value 5, dev_type from item {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000: 0x40000002 (Operation not supported)
error: ../subprojects/libinsane/src/workarounds/cache.c:L157(cache_get_value): dev_type->get_value() failed: 0x40000002, Operation not supported
Failed to read option dev_type: libinsane-quark: Libinsane opt[dev_type]->get_value() error: 0x40000002, Operation not supported (3)
- port_name=\\.\Usbscan0 ([])
- dev_name=EPSON Perfection V800/V850 ([])
- server_name=local ([])
- remote_dev_id= ([])
- ui_clsid={00000000-0000-0000-0000-000000000000} ([])
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L2172(convert_wia_int2lis): Unknown value 0 for option 11,hw_config
warning: ../subprojects/libinsane/src/bases/wia/wia_ll.c:L1282(wiall_opt_get_value): Failed to convert property value 11, hw_config from item {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000: 0x40000002 (Operation not supported)
error: ../subprojects/libinsane/src/workarounds/cache.c:L157(cache_get_value): hw_config->get_value() failed: 0x40000002, Operation not supported
Failed to read option hw_config: libinsane-quark: Libinsane opt[hw_config]->get_value() error: 0x40000002, Operation not supported (3)
- baudrate= ([])
- sti_gen_capabilities=19 ([])
- wia_version=2.0 ([])
- driver_version=2.1.0.1 ([])
- pnp_id=\\?\usb#vid_04b8&pid_0151#5&4482d16&0&1#{6bdd1fc6-810f-11d0-bec7-08002be2092f} ([])
- user_name=[redacted]([])
- dps_document_handling_capabilities=flat ([])
- document_handling_status=flat_ready ([])
- firmware_version=1.00 ([])
- dps_optical_xres=6400 ([])
- dps_optical_yres=6400 ([])

Setting xres to 6400
- Old xres: 300
- Allowed values: [50, 1200, 1]
warning: ../subprojects/libinsane/src/bases/wia/wia_ll.c:L1365(wiall_opt_set_value): Failed to set property 6147, xres on item 0000\Root\Flatbed: 0x80070057 -> 0x40000003 (Invalid value)
error: ../subprojects/libinsane/src/workarounds/cache.c:L229(cache_set_value): xres->set_value() failed: 0x40000003, Invalid value
Failed to set xres to 6400: libinsane-quark: Libinsane opt[xres]->set_value() error: 0x40000003, Invalid value (4)
Traceback (most recent call last):
  File "scan.py", line 80, in set_opt
    set_flags = opts[opt_name].set_value(opt_value)
gi.repository.GLib.GError: libinsane-quark: Libinsane opt[xres]->set_value() error: 0x40000003, Invalid value (4)

Setting yres to 6400
- Old yres: 300
- Allowed values: [50, 1200, 1]
warning: ../subprojects/libinsane/src/bases/wia/wia_ll.c:L1365(wiall_opt_set_value): Failed to set property 6148, yres on item 0000\Root\Flatbed: 0x80070057 -> 0x40000003 (Invalid value)
error: ../subprojects/libinsane/src/workarounds/cache.c:L229(cache_set_value): yres->set_value() failed: 0x40000003, Invalid value
Failed to set yres to 6400: libinsane-quark: Libinsane opt[yres]->set_value() error: 0x40000003, Invalid value (4)
Traceback (most recent call last):
  File "scan.py", line 80, in set_opt
    set_flags = opts[opt_name].set_value(opt_value)
gi.repository.GLib.GError: libinsane-quark: Libinsane opt[yres]->set_value() error: 0x40000003, Invalid value (4)

Options:
- item_name=Flatbed ([])
- full_item_name=0000\Root\Flatbed ([])
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L2172(convert_wia_int2lis): Unknown value 532487 for option 4101,item_flags
warning: ../subprojects/libinsane/src/bases/wia/wia_ll.c:L1282(wiall_opt_get_value): Failed to convert property value 4101, item_flags from item 0000\Root\Flatbed: 0x40000002 (Operation not supported)
error: ../subprojects/libinsane/src/workarounds/cache.c:L157(cache_get_value): item_flags->get_value() failed: 0x40000002, Operation not supported
Failed to read option item_flags: libinsane-quark: Libinsane opt[item_flags]->get_value() error: 0x40000002, Operation not supported (3)
- icm_profile_name=C:\windows\system32\spool\drivers\color\sRGB Color Space Profile.icm (['', 'C:\\windows\\system32\\spool\\drivers\\color\\sRGB Color Space Profile.icm', 'C:\\windows\\system32\\spool\\drivers\\color\\sRGB Color Space Profile.icm'])
- access_rights=read (['read'])
- optical_xres=6400 ([])
- optical_yres=6400 ([])
- preview=final (['final', 'preview'])
- supports_child_item_creation=1 ([])
- max_horizontal_size=8500 ([])
- max_vertical_size=11700 ([])
- min_horizontal_size=1 ([])
- min_vertical_size=1 ([])
- segmentation=true (['true'])
- show_preview_control=show_preview_control (['show_preview_control'])
- current_intent=none (['none'])
- item_category=flatbed ([])
- xres=300 ([50, 1200, 1])
- yres=300 ([50, 1200, 1])
- xpos=100 ([0, 2549, 1])
- ypos=100 ([0, 3509, 1])
- xextent=100 ([1, 2450, 1])
- yextent=100 ([1, 3410, 1])
- rotation=portrait (['landscape', 'portrait'])
- brightness=0 ([-1000, 1000, 1])
- contrast=0 ([-1000, 1000, 1])
- threshold=128 ([0, 255, 1])
- mode=Color (['Color', 'Gray', 'LineArt'])
- depth=24 ([1, 8, 24])
- preferred_format=<enum LIBINSANE_IMG_FORMAT_BMP of type __main__.LibinsaneImgFormat> ([])
- format=<enum LIBINSANE_IMG_FORMAT_BMP of type __main__.LibinsaneImgFormat> ([<enum LIBINSANE_IMG_FORMAT_BMP of type __main__.LibinsaneImgFormat>])
- compression=none (['none', 'bi_rle4'])
- tymed=file (['file'])
- channels_per_pixel=3 ([])
- bits_per_channel=8 ([])
- photometric_interp=white_1 (['white_0', 'white_1'])
- planar=0 ([])
- pixels_per_line=100 ([])
- number_of_lines=100 ([])
- item_size=30054 ([])
- buffer_size=131072 ([])
- filename_extension=BMP ([])
- warm_up_time=90000 ([])
- resolution=300 ([50, 75, 100, 125, 150, 175, 200, 225, 250, 275, 300, 325, 350, 375, 400, 425, 450, 475, 500, 525, 550, 575, 600, 625, 650, 675, 700, 725, 750, 775, 800, 825, 850, 875, 900, 925, 950, 975, 1000, 1025, 1050, 1075, 1100, 1125, 1150, 1175, 1200])
- tl-x=100 ([0, 2450, 1])
- tl-y=100 ([0, 3410, 1])
- br-x=200 ([1, 2549, 1])
- br-y=200 ([1, 3509, 1])
- dev_id={6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000 ([])
- vend_desc=EPSON ([])
- dev_desc=EPSON Perfection V800/V850 ([])
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L2172(convert_wia_int2lis): Unknown value 65537 for option 5,dev_type
warning: ../subprojects/libinsane/src/bases/wia/wia_ll.c:L1282(wiall_opt_get_value): Failed to convert property value 5, dev_type from item {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000: 0x40000002 (Operation not supported)
error: ../subprojects/libinsane/src/workarounds/cache.c:L157(cache_get_value): dev_type->get_value() failed: 0x40000002, Operation not supported
Failed to read option dev_type: libinsane-quark: Libinsane opt[dev_type]->get_value() error: 0x40000002, Operation not supported (3)
- port_name=\\.\Usbscan0 ([])
- dev_name=EPSON Perfection V800/V850 ([])
- server_name=local ([])
- remote_dev_id= ([])
- ui_clsid={00000000-0000-0000-0000-000000000000} ([])
warning: ../subprojects/libinsane/src/bases/wia/properties.c:L2172(convert_wia_int2lis): Unknown value 0 for option 11,hw_config
warning: ../subprojects/libinsane/src/bases/wia/wia_ll.c:L1282(wiall_opt_get_value): Failed to convert property value 11, hw_config from item {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000: 0x40000002 (Operation not supported)
error: ../subprojects/libinsane/src/workarounds/cache.c:L157(cache_get_value): hw_config->get_value() failed: 0x40000002, Operation not supported
Failed to read option hw_config: libinsane-quark: Libinsane opt[hw_config]->get_value() error: 0x40000002, Operation not supported (3)
- baudrate= ([])
- sti_gen_capabilities=19 ([])
- wia_version=2.0 ([])
- driver_version=2.1.0.1 ([])
- pnp_id=\\?\usb#vid_04b8&pid_0151#5&4482d16&0&1#{6bdd1fc6-810f-11d0-bec7-08002be2092f} ([])
- user_name=[redacted] ([])
- dps_document_handling_capabilities=flat ([])
- document_handling_status=flat_ready ([])
- firmware_version=1.00 ([])
- dps_optical_xres=6400 ([])
- dps_optical_yres=6400 ([])

Scanning ...
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({2132B005-C604-4354-85BD-8F2E24181B0C}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({00000003-0000-0000-C000-000000000046}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({ECC8691B-C1DB-4DC0-855E-65F6C551AF49}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({2132B005-C604-4354-85BD-8F2E24181B0C}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({00000003-0000-0000-C000-000000000046}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({0000001B-0000-0000-C000-000000000046}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({00000018-0000-0000-C000-000000000046}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({334D391F-0E79-3B15-C9FF-EAC65DD07C42}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({00000040-0000-0000-C000-000000000046}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({334D391F-0E79-3B15-C9FF-EAC65DD07C42}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({334D391F-0E79-3B15-C9FF-EAC65DD07C42}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({77DD1250-139C-2BC3-BD95-900ACED61BE5}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({334D391F-0E79-3B15-C9FF-EAC65DD07C42}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({BFD60505-5A1F-4E41-88BA-A6FB07202DA9}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({334D391F-0E79-3B15-C9FF-EAC65DD07C42}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({143715D9-A015-40EA-B695-D5CC267E36EE}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({D6DEFAB3-DBB9-4413-8AF9-554586FDFF94}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({EA5D0DE4-770D-4DA0-A9F8-D7F9A140FF79}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({816E5B3E-5523-4EFC-9223-98EC4214C3A0}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({3C169FF7-37B2-484C-B199-C3155590F316}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({4F4F92B5-6DED-4E9B-A93F-013891B3A8B7}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({9BC79C93-2289-4BB5-ABF4-3287FD9CAE39}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({1868091E-AB5A-415F-A02F-5C4DD0CF901D}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({11456F96-09D1-4909-8F36-4EB74E42B93E}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({1AC7516E-E6BB-4A69-B63F-E841904DC5A6}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({35BD3360-1B35-4927-BAE4-B10E70D99EFF}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({F2153260-232E-4474-9D0A-9F2AB153441D}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({334D391F-0E79-3B15-C9FF-EAC65DD07C42}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({03FB5C57-D534-45F5-A1F4-D39556983875}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({334D391F-0E79-3B15-C9FF-EAC65DD07C42}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({2C258AE7-50DC-49FF-9D1D-2ECB9A52CDD7}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({00000019-0000-0000-C000-000000000046}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({4C1E39E1-E3E3-4296-AA86-EC938D896E92}): Unknown interface
warning: ../subprojects/libinsane/src/bases/wia/transfer.c:L952(wia_stream_query_interface): IStream->QueryInterface({1C733A30-2A1C-11CE-ADE5-00AA0044773D}): Unknown interface
Expected scan parameters: <enum LIBINSANE_IMG_FORMAT_RAW_RGB_24 of type Libinsane.ImgFormat> ; 100x100 = 30000 bytes
Scanning page 0 --> test.png
Got 30000 bytes => 30000/30000 bytes
Got 30000 bytes
Saving page as test.png ...
Mode: RGB : Size: 100x100
Page 1 scanned
Scan done
warning: ../subprojects/libinsane/src/workarounds/cache.c:L597(cache_cleanup): cache->cleanup(): Device '{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000' wasn't closed (refcount=1). Closing now