65.9K
CodeProject is changing. Read more.
Home

A huge and free image collection for programmers

starIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIconemptyStarIcon

1.69/5 (13 votes)

Jun 21, 2007

CPOL

1 min read

viewsIcon

27831

downloadIcon

455

A huge and free image collection for programmers

Introduction

In Visual C++, Java, VB and other develop environments, programmers use different kinds of images to implement their interfaces, such as toolbars, buttons and menu items. Those images are often required in pairs (normal and disabled) to complete image controls. The collection presented here contains over 5,600 images in original sizes of 32 x 32 and 16 x 16 pixels and will satisfy the needs in most cases. As such, it is a beneficial resource for you at work time.

The Main Image Interface.

You can modify the images after downloading the collection. All of the images are managed by software we developed to provide many appropriate features, such as resize, flip, rotate, shadow and disable images in many ways. All image modifications are completely done in image buffers, without using Windows common functions, such as StretchBlt(), StretchDIBits(), GetPixel(), SetPixel() and memory DCs. Modifying the images in buffers is much better, nicer and faster than by using the common Windows functions above.

The following partial screen shot shows the software for modifying the images.
interface.gif

Shadow and Disabled Images

Shadows make the original image slightly different but are very important. For a small image (i.e. 32x32 or 16x16 pixels), single sunken or raised shadows are good enough, but for larger images, double sunken or raised may yield better results.

All common Windows software, such as MS WordTM, Visual StudioTM and PhotoshopTM, use single sunken images for disabled controls. The following image shows samples of various image modifications.
sample.gif

Hope you enjoy it, thanks.