Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embed a tif?

Status
Not open for further replies.

pdbowling

Programmer
Mar 28, 2003
267
US
Hello everyone.

I have found many topics on accessing embedded resources and adding Bitmaps to a project so those I can replicate. What's throwing me is probably pretty simple, but:

How do I get a tif file into my project as an embedded resource.

I've tried to right click the project and 'add' -> 'new item'. Of the options I see in the dialog, Bitmap File is the closest, but that brings up an interface to draw a bitmap. I did not see any info in the drawing interface to import a file either.

I would like to embed it so that it doesn't have to be an extra file hanging around in the executable folder. I'd like to keep it as a tiff as well instead of using the BitmapDecoders. (I'm using a component that is expecting a tif's stream).

Suggestions?

Thanks, All.
Patrick

Patrick is a distributor of Republic Magazine ( -free pdf copy downloadable ) and the webmaster of
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top