07-17-2015 08:42 AM
Interesting idea about connecting the scanner directly and skipping the PNG file altogether. I will have to look if there is an existing Labview driver for my scanner.
The only formats my scanner can output are JPG, PNG, and TIFF. JPG are lossy and when i tried saving the image from my scanner it would default to 24-bit color depth even for black and white scans, so the file size was closer to 90MB. I went with PNG because it is lossless and the output went to 1-bit color depth, so it was a much smaller file output.
Splitting the file into a bunch of smaller files might be a solution. I am going to look into that option as well.
Thanks everybody for your input.
-Chris
07-17-2015 06:05 PM
@YoMetric wrote:
Interesting idea about connecting the scanner directly and skipping the PNG file altogether. I will have to look if there is an existing Labview driver for my scanner.
The only formats my scanner can output are JPG, PNG, and TIFF. JPG are lossy and when i tried saving the image from my scanner it would default to 24-bit color depth even for black and white scans, so the file size was closer to 90MB. I went with PNG because it is lossless and the output went to 1-bit color depth, so it was a much smaller file output.
Splitting the file into a bunch of smaller files might be a solution. I am going to look into that option as well.
Thanks everybody for your input.
-Chris
could you try reading your file as binary?
07-17-2015 06:13 PM
@alexderjuengere wrote:
could you try reading your file as binary?
PNG is compressed data. You won't get anything good out of it unless you decompress it first.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
08-07-2015 01:25 PM
@CoastalMaineBird wrote:
PNG is compressed data. You won't get anything good out of it unless you decompress it first.
ok, I guess you were right ...
08-08-2015 09:45 AM
YoMetric, you might want to take a look at ImageMagick <http://www.imagemagick.org/script/api.php >
That page claims to have a LabVIEW interface for the core manipulation tools, and it's free.
It also claims the abilty to deal with multi-GByte images.
I haven't used it, so I don't know anything beyond the claims on that site.
Blog for (mostly LabVIEW) programmers: Tips And Tricks