Upload Image RRS feed

  • Question


    Hi all,


    I need to perform a few checking before user are able to upload their scaned document to system. There are mainly 4 checking which are :


    1. Must be 200 dpi x 200 dpi

    2. 1 bit (black & white) format

    3. Tiff Image only

    4. Compression Mode 4


    I have manage to do Item No. 1 & 3 (200 dpi and Tiff only). But,


    For Item No 3. I am thinking of using Image.PixelFormat, if the value is "Format1bppIndexed" then user will be able to upload. Other than that, we will restrict the user from upload the file. Can I use this method to do the checking? Or is there any other good method?


    For Item No 4, which is Compression Mode 4, I don't know what the hell is that. I try to google, and I can't seem to get the result. Can someone explain or give any ideas on how to do the checking on this compression mode. Since while I try to scan document, there are no such option.



    Guys and Gals, please help.. thank you... Smile

    Wednesday, February 6, 2008 3:47 AM