0 users browsing Discussion. | 2 guests | 18 bots  
    Main » Discussion » Printer & Scanner Discussion
    Pages: 1
    Posted on 19-06-21, 05:57 (revision 7)
    Post: #219 of 426
    Since: 10-30-18

    Last post: 501 days
    Last view: 16 days
    yes, yes we all know these *devices* suck ass, but the software can suck just as much ass too. Anyways I stumbled upon this situation just now with the Canon MG7560 scanner software: https://imgur.com/a/yctxRVw

    Also the PNG files produced by this scanner software can't be opened by MSPaint. They are somehow an unsupported format.


    I miss the Canon Scanjet scanners from 15~ years ago. The software they included did nothing dumb and also let you choose a specific portion of a scanned image to save to a file (The image preview quality was configurable independent of the actual scan too iirc, where as this new software always does a super fast low quality preview scan). I think they used a Microsoft API/interface in Windows 9x/XP for a lot of the software functionality.

    AMD Ryzen 3700X | MSI Gamer Geforce 1070Ti 8GB | 16GB 3600MHz DDR4 RAM | ASUS Crosshair VIII Hero (WiFi) Motherboard | Windows 10 x64
    Posted on 19-06-21, 08:02
    Full mod

    Post: #279 of 443
    Since: 10-30-18

    Last post: 1103 days
    Last view: 174 days
    If I had to guess, I'd say there's probably a feature where you can scan one file, name it "something_0000.png", and then each time you press a button it makes a new scan and saves it to the same location with the same name, but with the counter incremented. If you had a stack of a hundred invoices to scan (or whatever) I can imagine that being quite handy. If that's what it's doing, maybe it's trying to add 1 to 4,198,415 then trying to format the result into 4 digits and overflowing.

    Kind of weird that it would do that at startup, though, and without being explicitly asked.

    > Also the PNG files produced by this scanner software can't be opened by MSPaint. They are somehow an unsupported format.

    I wonder if they're 16-bit-per-channel instead of 8-bit-per-channel. Can you view them in your browser, for example?

    The ending of the words is ALMSIVI.
    Posted on 19-06-21, 08:16
    Contractually Immortal

    Post: #280 of 599
    Since: 10-29-18

    Last post: 198 days
    Last view: 2 hours
    Posted by Screwtape
    I wonder if they're 16-bit-per-channel instead of 8-bit-per-channel. Can you view them in your browser, for example?
    http://entropymine.com/jason/tweakpng/

    It's what I use when I want to know things like that.
    Posted on 19-06-21, 09:18 (revision 2)
    Post: #220 of 426
    Since: 10-30-18

    Last post: 501 days
    Last view: 16 days
    Posted by Screwtape
    If I had to guess, I'd say there's probably a feature where you can scan one file, name it "something_0000.png", and then each time you press a button it makes a new scan and saves it to the same location with the same name, but with the counter incremented. If you had a stack of a hundred invoices to scan (or whatever) I can imagine that being quite handy. If that's what it's doing, maybe it's trying to add 1 to 4,198,415 then trying to format the result into 4 digits and overflowing.

    Kind of weird that it would do that at startup, though, and without being explicitly asked.

    It definitely seems like that is what is happening. The problem is that it shouldn't be remembering the file name used from the previous Scan Gear session, and as you said it should either ask before utilizing such a system or at the very least give an option to change the file name prefix that it's using instead of just denying the ability to use the software at all.

    Posted by Screwtape
    > Also the PNG files produced by this scanner software can't be opened by MSPaint. They are somehow an unsupported format.

    I wonder if they're 16-bit-per-channel instead of 8-bit-per-channel. Can you view them in your browser, for example?
    They can be viewed correctly in Firefox. The exact error that MSPaint throws up is:

    ---------------------------
    Paint
    ---------------------------
    D:\My Documents\Canon Scanner\2019_06_21\Invoice 1.png

    Paint cannot read this file.

    This is not a valid bitmap file, or its format is not currently supported.
    ---------------------------
    OK
    ---------------------------

    TweakPNG info: https://imgur.com/a/khhQoYN

    AMD Ryzen 3700X | MSI Gamer Geforce 1070Ti 8GB | 16GB 3600MHz DDR4 RAM | ASUS Crosshair VIII Hero (WiFi) Motherboard | Windows 10 x64
    Posted on 19-06-21, 09:36
    Full mod

    Post: #281 of 443
    Since: 10-30-18

    Last post: 1103 days
    Last view: 174 days
    I found one guy at the end of this thread who claimed that at least since Paint became Paint 3D, it's unable to open any file whose uncompressed size is greater than about 250MB, giving the error you describe.

    Looking at the TweakPNG screenshot, your image is 10208 * 14032 pixels, times 3 bytes per pixel gives a total size of ~430MB.

    Maybe try scanning at 600dpi or even 300dpi? It won't be as crisp, but should still be quite readable. If you're just scanning invoices to keep a convenient record of them and not scanning hard-drawn art or something, resolution probably doesn't need to be that great.

    The ending of the words is ALMSIVI.
    Posted on 19-06-21, 09:48 (revision 2)
    Post: #222 of 426
    Since: 10-30-18

    Last post: 501 days
    Last view: 16 days
    Posted by Screwtape
    I found one guy at the end of this thread who claimed that at least since Paint became Paint 3D, it's unable to open any file whose uncompressed size is greater than about 250MB, giving the error you describe.

    Looking at the TweakPNG screenshot, your image is 10208 * 14032 pixels, times 3 bytes per pixel gives a total size of ~430MB.

    Maybe try scanning at 600dpi or even 300dpi? It won't be as crisp, but should still be quite readable. If you're just scanning invoices to keep a convenient record of them and not scanning hard-drawn art or something, resolution probably doesn't need to be that great.
    Interesting, thanks for that information. I had another smaller image with the same issue but after doing some changes in irfanview to bring down the file size the issue disappeared and I now think I know why: The image was converted to 256 colours and some glitchy phenomena in a quadrant of the image was removed which would've dramatically reduced the uncompressed size.

    AMD Ryzen 3700X | MSI Gamer Geforce 1070Ti 8GB | 16GB 3600MHz DDR4 RAM | ASUS Crosshair VIII Hero (WiFi) Motherboard | Windows 10 x64
    Posted on 19-06-21, 17:31
    Dinosaur

    Post: #408 of 1317
    Since: 10-30-18

    Last post: 2 days
    Last view: 2 hours
    I haven't scanned anything from under Windows since... what, a long time ago?

    Thankfully my good ol' Acer S2W 3300U is still supported by SANE (you do need to provide your own firmware - hope you have your Windows driver pack on a safe place!). Yes, it's a lousy scanner, sometimes there is a halo strip on my scans (which goes more or less away if I take it apart for a cleanup), the power jack has cold solder joints, and it freaks the hell out if you try to scan in grayscale... but for the rare times I use it, it does the work.

    OEM-included scanning apps are a pile of suck and fail. ALL of them. I've used the ones from Acer/BenQ, Canon, HP, Konica Minolta, and Epson... and ALL OF THEM have annoyed me to no end. SANE is another bag of suck, but at least that one doesn't get (that much) in the way for me.

    Licensed Pirate® since 2006, 100% Buttcoin™-free, enemy of All Things JavaScript™
    Pages: 1
      Main » Discussion » Printer & Scanner Discussion
      Yes, it's an ad.