all groups > dotnet drawing api > august 2003 >
You're in the

dotnet drawing api

group:

Image inclusion in projects


Image inclusion in projects Justin Weinberg
8/29/2003 12:48:45 PM
dotnet drawing api:
I'm releasing a tool soon that works with GDI+. One of the features is the
ability to import images and produce code. I've identified 4 ways that a
project could get at images.

1) Build action embed
2) Build action content
3) A relative path to the image from the /bin
4) An absolute path to the image

Can anyone think of other ways I'm not thinking of to get at images from
..NET that are used frequently?

Re: Image inclusion in projects Justin Rogers
8/29/2003 3:50:54 PM
You might want to be able to handle resource collections in case someone
builds a collection of images. You can even embed these resource
collections in their own assemblies. Take a look at the Terrarium
application for an example of this in action. It might be interesting to
see a resource packing sheme for layering images inside of an assembly
actually supported. I'm not sure how this scheme works with VS since the
scheme was developed for a command line build environment, but I'm sure
there are some techniques to building resource only assemblies.


--
Justin Rogers
DigiTec Web Consultants, LLC.


[quoted text, click to view]

AddThis Social Bookmark Button