Results 1 to 1 of 1

Thread: Convert to Black and White using WIA

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2022

    Convert to Black and White using WIA

    Is there a Filter that I can apply to convert an image from one type to another? I want to save a color image as black and white using VBA/WIA.

    oIP.Filters.Add oIP.FilterInfos("Convert").FilterID
    oIP.Filters(1).Properties("") = 4 'TextIntent
    oWIA.LoadFile sInitialImage
    Set oWIA = oIP.Apply(oWIA)

    Thank you.
    Last edited by LearningSponge; Dec 7th, 2022 at 02:37 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width