Raster image viewer control (TIF support)

Raster image viewer control (TIF support)

Anonymous
Not applicable
460 Views
4 Replies
Message 1 of 5

Raster image viewer control (TIF support)

Anonymous
Not applicable
The standard VBA Image control can display BMP, JPG, and GIF files,. It unfortuately cannot handle TIF files, which we use extensively.

While shopping for some (inexpensive) ActiveX raster viewer controls on the web, it occured to me that AutoCAD can view TIF files in its "Select Image File" dialog (see attachment).

Now since all the end-users of my programs already have AutoCAD, I figured that I could reference the same viewer control that AutoCAD uses in my program - No need to distribute and register a dependency file. I have done this with other AutoCAD-based controls (ObjectDBX, FocusControl, etc).

So then, what control is AutoCAD using? Is it part of the software? Can it be referenced? Is it part of the OS? (Windows XP in our case).

Any idea?

Mark Sanchez
0 Likes
461 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
What you see in the preview on the Open dialog box is
not the actual TIFF file, it is a preview (which can be
stored in the file like AutoCAD DWG files do, or can be
generated on the fly) but the former is more likely.

You can't use anything in AutoCAD to view TIF files,
you will need a third party component.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:4849851@discussion.autodesk.com...
The standard VBA Image control can display BMP, JPG, and GIF files,. It unfortuately cannot handle TIF files, which we
use extensively.

While shopping for some (inexpensive) ActiveX raster viewer controls on the web, it occured to me that AutoCAD can view
TIF files in its "Select Image File" dialog (see attachment).

Now since all the end-users of my programs already have AutoCAD, I figured that I could reference the same viewer
control that AutoCAD uses in my program - No need to
distribute and register a dependency file. I have done this with other AutoCAD-based controls (ObjectDBX, FocusControl,
etc).

So then, what control is AutoCAD using? Is it part of the software? Can it be referenced? Is it part of the OS?
(Windows XP in our case).

Any idea?

Mark Sanchez
0 Likes
Message 3 of 5

Anonymous
Not applicable
Tony Tanzillo wrote:

> What you see in the preview on the Open dialog box is
> not the actual TIFF file, it is a preview (which can be
> stored in the file like AutoCAD DWG files do, or can be
> generated on the fly) but the former is more likely.
>
> You can't use anything in AutoCAD to view TIF files,
> you will need a third party component.

Can't you do a image attach?

Andrew
0 Likes
Message 4 of 5

Anonymous
Not applicable
Tony Tanzillo wrote:

> What you see in the preview on the Open dialog box is
> not the actual TIFF file, it is a preview (which can be
> stored in the file like AutoCAD DWG files do, or can be
> generated on the fly) but the former is more likely.
>
> You can't use anything in AutoCAD to view TIF files,
> you will need a third party component.

Have you considered using AutoCAD Map? I think that extends the image
attach cababilities alot. It includes MrSid and Tif I think and some
others.

Andrew
0 Likes
Message 5 of 5

Anonymous
Not applicable
Thanks Tony
0 Likes