Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Reading image data within an IPicture

Reading image data within an IPicture

Scheduled Pinned Locked Moved Visual Basic
helptoolstutorialquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Toxsophilus
    wrote on last edited by
    #1

    Hi, I am currently writing a utility to detect blank pages in tiff documents and delete them. I have a toolkit to manipulate the file but unfortunately it does not have a very flexible blank page detection routine. So what I want to do is allow the user to set a percentage of black pixels parameter in a page and read the page data to look for the ratio of black to white pixels to determine if the page needs to be dropped. The toolkit allows me to get the image data for each page into an IPicture but I am stuck from there on how to read the image data. Currently the system only needs to read black and white images (colour may be an option later but I will try to cross that bridge when I come to it) So in short, can anyone help me in reading B&W data in an IPicture to count the black and white pixels? Many thanks Mark

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups