Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - TIFF file highlight area C# example?

Reply
 
Old 10-08-2009   #1 (permalink)
JimB


 
 

TIFF file highlight area C# example?

I need some sample .NET sample code that allows me to load a TIFF file
via System.Drawing.Bitmap bitmap or TiffBitmapDecoder decoder = new
TiffBitmapDecoder. I'm lost trying to tie all the pieces together. I
know I need to convert the tiff into a bitmap so I can use setpixel
correct? The method will pass in the x,y coord. of the area of the
TIFF file and a color to change it to. My TIFFs are black and white
so I was told I need to convert it to grayscale in order to change the
pixel color to light green for example. Basically I want to change
all the white pixels to a light green color in one specific area of
the image.

Can someone show me a sample code snippet that would accomplish this
using .NET C#, my project is a wpf application.

thanks!

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Can't print tiff file with Vista Vista print fax & scan
Vista tiff file association problem Vista General
Accessing Multipage TIFF file via byte offset in .NET? .NET General
Vista hangs when I open tiff file with Windows Foot Gallery Vista General
windows explorer - unable in any of my folders to select all or highlight first then hold shift key and then click last file ----driving me to drink Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46