Going from a JPG/GIF/BMP File to a HBITMAP File Using Plain API
Rating: 




Michael Chourdakis - 06/11/2003
Loading an image file into a HBITMAP handle without using MFC.Storing Bitmaps into an Array
Rating: 




Alex Belousov - 10/07/2002
See how to store an array of bitmaps with this class. The bitmaps can be of any size, and the array can be as big as memory will allow.
Getting the dimensions of a bitmap
Rating: 




Zafir Anjum - 10/01/2002
Getting the dimensions of a bitmap
Exploring the Internal Structure of a 24-Bit Uncompressed Bitmap File
Rating: 




Hanbo Sun - 09/24/2002
Discover the internal structure of a 24-bit uncompressed bitmap file, as well as how you can load such a file and store RGB values into a linear array. Load the pixels of a bitmap without using Win32 API functions or other third-party classes (such as MFC).
Finding Similarity Between Images
Rating: 




Danang Suharno - 09/18/2002
Content-Based Image Retrieval (CBIR) is a way to index or find a similarity between images in a multimedia database.
Changing Bitmaps Color Depth
Rating: none
Gerd Esser - 03/18/2002
Enables you to decrease the color depth of incredibly hi-res bitmaps
Parametric Bitmap
Rating: none
Konstantin Efimov - 01/14/2002
Learn when and how to create parametric bitmaps.
How to Retain the Aspect Ratio of an Image While Resizing
Rating: none
Michael Hatton - 01/03/2002
How to retain the aspect ratio of an image while resizing.
Add GIF-Animation to your MFC and ATL Projects
Rating: 




Oleg Bykov - 12/07/2001
Add GIF-animation to your MFC and ATL projects with the help of CPictureEx and CPictureExWnd.
Creating Color Bitmap From Scratch
Rating: 




Alex Salta - 11/09/2001
Simple code sample for creating bitmaps from scratch.
Real Time 2D Graph
Rating: none
B.Manivannan - 11/05/2001
[Updated] Graphically displaying real-time data.
CPicture - The Yovav (Horror) PictureShow
Rating: 




Dr. Yovav Gad - 09/17/2001
This article presents a way to load a JPG (and other formats) from a resource and show it on a dialog based application.
Directly Accessing Pixels in a 24-bit Bitmap
Rating: 




Zvika Ben-Haim - 08/01/1999
Directly Accessing Pixels in a 24-bit Bitmap
A quick method to load a bitmap file in a CBitmap
Rating: none
Ronen Magid - 08/01/1999
A quick method to load a bitmap file in a CBitmap
A DIBSection wrapper for Win32
Rating: none
Chris Maunder - 05/25/1999
A DIBSection wrapper for Win32
Converts a image list to DIB
Rating: 




Mike Wild - 03/21/1999
Converts a image list to DIB
Smart resize for monochrome bitmaps
Rating: none
David Bolshoy - 01/24/1999
Smart resize for monochrome bitmaps
Transparent Bitmap - True Mask Method
Rating: none
ScoobyDownUnder - 10/11/1998
Transparent Bitmap - True Mask Method
An auto-sizing bitmap picture control
Rating: none
Chris Maunder - 08/11/1998
An auto-sizing bitmap picture control
Creating a bitmap object from a BMP file
Rating: 




Zafir Anjum - 08/05/1998
Creating a bitmap object from a BMP file
Drawing a bitmap from a BMP file
Rating: none
Zafir Anjum - 08/05/1998
Drawing a bitmap from a BMP file
Creating a DIB section from a BMP file
Rating: 




Zafir Anjum - 08/05/1998
Creating a DIB section from a BMP file
Encapsulated Dib API
Rating: none
Jorge Lodos - 08/05/1998
Encapsulated Dib API
Writing a bitmap to a BMP file
Rating: 




Zafir Anjum - 08/05/1998
Writing a bitmap to a BMP file
Drawing a bitmap
Rating: none
Zafir Anjum - 08/05/1998
Drawing a bitmap
Copying a bitmap to clipboard
Rating: 




Zafir Anjum - 08/05/1998
Copying a bitmap to clipboard
EBGfx library to get fast access to image data
Rating: 




El Barto - 08/05/1998
EBGfx library to get fast access to image data
Displaying a 256 color bitmap
Rating: none
Zafir Anjum - 08/05/1998
Displaying a 256 color bitmap
Writing a window image to a BMP file
Rating: 




Zafir Anjum - 08/05/1998
Writing a window image to a BMP file
Converting DIB to DDB
Rating: 




Zafir Anjum - 08/05/1998
Converting DIB to DDB
Converting DDB to DIB
Rating: 




Zafir Anjum - 08/05/1998
Converting DDB to DIB
An enhanced DIBLOOK sample
Rating: none
Jorge Lodos Vigil - 08/01/1998
An enhanced DIBLOOK sample
Capturing
Using a Camera with Windows Mobile 5
Rating: 




Amit Ranjan - 07/21/2006
Learn how to access a camera and capture video by using a Windows Mobile 5.0 API called DirectShow.Trick: How to Capture Video Screen Shots
Rating: 




Heng Wah Chiew - 03/01/2004
An article describing a trick to capture video screen shots.
Capturing a Window Image Into a Bitmap File, Supporting MS PaintBrush and All -- (Like the Thumbnail View of Windows Explorer)
Rating: 




Shailesh N. Kanzariya - 01/08/2003
Capture a Windows image into a bitmap file that will support all PaintBrush tools and Thumbnail Views of Windows Explorer. This code helps you avoid the "white out" problem that can occur when capturing bitmaps.
Creating Windows Bitmaps to Save Desktop Images into BMP and JPG Files
Rating: 




Senthil Murugan - 11/20/2002
Using Visual C++, you can save the desktop into a BMP or JPG file. You also can save a window into a BMP or JPG file.
Compressing
RLE (Run-Length-Encoding) Compression Routine in MFC for 256-Color Bitmaps
Rating: none
Seth Chou - 12/30/2002
An 8-bit Run-Length-Encoded (RLE) bitmap compression routine in VC++.
Displaying and Sizing
Displaying a Bitmap from a BMP File
Rating: 




Ramakrishna Talla - 04/03/2003
Loading a bitmap can be relatively simple. See one more step-by-step approach to loading and using a bitmap.Displaying Bitmap Images with Scrolling
Rating: 




Shibu K.V. - 11/12/2002
The downloadables' filenames have been corrected.
External Links
JpegFile, a FREE and Simple JPEG (and BMP) read / write class
01/08/1999
JpegFile, a FREE and Simple JPEG (and BMP) read / write classClass library for image file decoding
12/11/1998
Supports the PNG, TGA, TIFF, JPEG/JFIF, Windows BMP, and Mac PICT formats as well as EPS previews
Icons
Using Windows Vista Icons
Rating: 




vlasta - 05/18/2006
Learn about the changes in the .ico format in Windows Vista and how to compile Vista icons into your applications.CreateGrayscaleIcon()
Rating: none
Davide Calabro - 04/23/2002
A Win32 function to create grayscale icons.
Convert 32x32 icon to 16x16
Rating: none
Fabio Falsini - 01/17/2002
A solution to convert an icon from 32x32 format to 16x16.
Image Manipulation
Anti-Aliased Image Transformation (Aaform)
Rating: 




msg555 - 12/19/2005
Given an image and a quadralateral, Aaform will fit the image onto the quadraleteral passed using geometry.[Updated] Anti-Aliased Image Rotation (Aarot)
Rating: 




msg555 - 11/07/2005
Rotate images using geometry.
Puzzle, a Game with the MFC Doc/View Architecture (SDI/MDI)
Rating: 




Georges Dumond - 06/02/2005
Learn how to display a menu with thumbnails and several other windows, move and manage the pieces of a puzzle with a linked list, and then show them without flicker.
Managed C++: Loading and Displaying Images
Rating: 




Tom Archer - MSFT - 11/29/2004
For years, one of the biggest complaints about MFC was its lack of imaging support. Tom Archer shows how Managed C++, the .NET Image class, and the PictureBox control make loading, displaying, and dynamically sizing an image a snap.
Quick Image Stretching Technique
Rating: 




Andy McGovern - 11/26/2002
The ability to draw an image on the screen that is a different size than the original source image is incredibly easy. In this article, learn how to do it quicker and more efficiently.
Merging
BMP MERGER -- A Reusable Class to Merge BMP files, Load a Bitmap from a BMP File, and Display HBITMAP without Flicker
Rating: none
Rajeev Sadasivan - 12/11/2002
Merge a group of BMP files to a HBITMAP and return the corresponding palette. Also, see how to load a bitmap from a BMP file with the palette information and display a bitmap without flicker.
Other formats...
[Updated] Working with TIFF Images
Rating: 




Andy McGovern - 11/16/2004
Learn about an implementation of a simple approach that will allow you to include support for TIFF files in your applications with a few library calls.Creating the CBitmapPicture Object
Rating: none
Brandyn Ashing Infinger - 10/07/2002
Allow the user to load jpg, gif, bmp, and dib formats from a file or resource and store them as CBitmap objects.
CxImageMNG - A class to read MNG, JNG and PNG images
Rating: none
Davide Pizzolato - 12/04/2001
Play MNG animations and read PNG and JNG images.
ImageHandler: A Component to Copy an HDC Area to a JPEG File
Rating: none
Wes Rogers - 08/15/2001
This component allows a generalized way to create a JPEG file from the contents of a view window.
Viewing PCX files
Rating: none
Pierre Fournier - 03/20/1999
Viewing PCX files
Write a DIB to a JPEG File
Rating: 




Wes Rogers - 03/07/1999
Write a DIB to a JPEG File
Palettes and Color Tables
ColorFinder'—Retrieve the Color of Any Pixel on the Desktop
Rating: none
Abhinaba Basu - 12/08/2003
Discover a tool that can be used to retreive the color of any pixel on the Desktop.Changing Colors in Bitmaps and Making Icons from Them
Rating: 




Alexander Hritonenkov - 03/14/2003
des: Create a class for changing colors in a bitmap. You can also make an icon out of the bitmaps.
Changing a CBitmap's Palette
Rating: 




Erik Gillespie - 02/24/2003
Learn how to change a CBitmap's palette to an arbitrary palette stored in a CPalette object.
Obtaining High-Color Splash Screens
Rating: none
Rajesh Parikh - 05/24/2002
In todays world of high quality graphics you need a way to display high color bitmap as the splash screen of your applications. By default VC++ provides a 16 color bitmap for the splash screen. Learn how to increase this to a higher number of colors.
Creating 256 color icons/cursors of any color using DevStudio
Rating: none
Brian Friesen - 08/30/2001
This short article is a "how to" article describing the process of creating 256 color icons and cursors of any color using nothing but DevStudio.
Super-Fast Two Pass Bi-Linear Scaling
Rating: 




Tom Kenny - 08/20/2001
Fast bitmap scaling.
A True Color Wheel
Rating: none
John Killingbeck - 08/01/1999
A True Color Wheel
Special Effects
Blur Blending Method
Rating: none
Jean-Rémi Pinna - 06/04/2002
Discover how to blend a RGB bitmap with the Blur method. It use HBITMAP, GetDibBits and SetDibBits.Accelerated Smooth Bitmap Resizing
Rating: 




Ivaylo Byalkov - 02/20/2001
Great code to use when we want to resize a bitmap and have the resulting bitmap be of the highest possible quality
Win32 C Function for High-Quality Bitmap Shrinking
Rating: none
Petr Spacil - 11/01/2000
Replacement function for StretchBlt that enables you to produce Adobe Photoshop-quality images when shrinking bitmaps
Transparent Image Static Class
Rating: 




Andrew Forget - 11/17/1999
Transparent Image Static Class
SemiTransparent Bitmaps
Rating: 




Laurent Guinnard - 07/28/1999
SemiTransparent Bitmaps
High quality image rotation (rotate by shear)
Rating: none
Eran Yariv - 05/01/1999
High quality image rotation (rotate by shear)
2 Pass Scaling using Filters
Rating: none
Eran Yariv - 03/28/1999
2 Pass Scaling using Filters
Print transparent bitmaps via regions
Rating: none
Wes Rogers. - 10/07/1998
Print transparent bitmaps via regions
Gradient fill
Rating: none
ScoobyDownUnder - 10/04/1998
Gradient fill
Shade images to look like an active icon
Rating: none
Zafir Anjum - 08/05/1998
Shade images to look like an active icon
Fading from color to grayscale and vice-versa
Rating: none
Zafir Anjum - 08/05/1998
Fading from color to grayscale and vice-versa
Emboss text and other shape on your bitmap
Rating: 




Zafir Anjum - 08/05/1998
Emboss text and other shape on your bitmap
Draw bitmap with grayed 3D effect
Rating: none
Jean-Edouard Lachand-Robert - 08/05/1998
Draw bitmap with grayed 3D effect
Fade in / Fade out Images using Palette animation
Rating: none
Zafir Anjum - 08/05/1998
Fade in / Fade out Images using Palette animation
Invert (mirror) a bitmap
Rating: none
Zafir Anjum - 08/05/1998
Invert (mirror) a bitmap
Invert (mirror) a bitmap in-place
Rating: none
Roger Onslow - 08/05/1998
Invert (mirror) a bitmap in-place
Rotate a bitmap image
Rating: 




Zafir Anjum - 08/05/1998
Rotate a bitmap image
Apply a 3D bitmap pattern on text or other shapes
Rating: none
Zafir Anjum - 08/05/1998
Apply a 3D bitmap pattern on text or other shapes
Drawing a bitmap transparently
Rating: 




Zafir Anjum - 08/05/1998
Drawing a bitmap transparently
Drawing an image in grayscale
Rating: 




Zafir Anjum - 08/05/1998
Drawing an image in grayscale
Using regions
How to Save and Load a Windows Region with the Win32 API
Rating: none
Marc Gregoire - 04/12/2007
Learn how to save a Windows region to a file with GetRegionData and how to load and re-create it with ExtCreateRegion the Win32 API way.Managed C++: Rubber-Banding and Cropping Images
Rating: none
Tom Archer - MSFT - 12/01/2004
Learn how .NET enables you to easily allow your users to create a cropping area of an image with the mouse and then create a new image consisting of only that cropped area.
Creating a 24-Bit Per Pixel Subregion of a 24-Bit Per Pixel Bitmap
Rating: 




Glenn Dean - 11/15/2001
Creating a 24-Bit Per Pixel Subregion of a 24-Bit Per Pixel Bitmap
A tool to convert bitmaps to region files
Rating: 




Till Toenshoff - 01/24/1999
A tool to convert bitmaps to region files
Converting a bitmap to a region - memory leak fix
Rating: none
Jean-Edouard LACHAND-ROBERT. - 10/04/1998
Converting a bitmap to a region - memory leak fix
Converting a bitmap to a region
Rating: 




Jean-Edouard Lachand Robert - 08/05/1998
Converting a bitmap to a region
Viewers
[Updated] ImageStone
Rating: 




crazybit - 03/21/2007
ImageStone is a powerful C++ class library for image manipulation. It is written in pure C++ and is easily portable. Its features include load/save (supports BMP, GIF, JPG, PNG, TIF, ICO, TGA, PCX, PSD...), display, histogram, undo/redo, and image transformation with over 100 predefined effects.Extracting the Thumbnails and EXIF Information of JPEG Files
Rating: 




Georges Dumond - 09/11/2006
Digital cameras add material to the JPEG files they create, containing information that is easy to extract: thumbnails and information EXIF.
2D & 3D Visualization Techniques for Geo-Referenced Images
Rating: 




Andy McGovern - 02/23/2005
Provides some conceptual background for working with geo-referenced imagery and specific details for GeoTIFF images. Also provides a 2D & 3D sample project with first person fly throughs.
CBitmapCtrl: Control for Displaying Bitmaps
Rating: 




John Melas - 09/04/2000
A class representing a dialog control that loads bitmaps from files
Simple BMP Viewer
Rating: 




Sam Hobbs - 12/10/1999
Code that Illustrates How to Open and Display .BMP Files
Views & MDI clients
Paint a gradient color background
Rating: none
Chen Su - 08/19/1998
Paint a gradient color backgroundBitmap background in MDI Client
Rating: none
Neil A. Van Note - 08/05/1998
Bitmap background in MDI Client
A logo Bitmap Inside a Client Frame
Rating: 




Adrian Roman - 08/05/1998
A logo bitmap inside client frame
Painting the Background for a CFormView Derived Class
Rating: none
Adrian Roman - 08/05/1998
Painting the background for a CFormView derived class
