How to Count Multi-Page TIFF Files

Here is the simple TIFF file page counter using TiffBitmapDecode.

This code works for most cases. Some TIFF file compression may not work.

 

Kyoungsu Do
Software Quality Engineer
ImageSource, Inc. 

 

Inline Code with XAML

One of the hidden tricks in XAML is that you can actually write inline code directly on the page instead of using the typical code-behind files.  Below is an example on how this works

image

 

And here is the running code

image

Follow

Get every new post delivered to your Inbox.