Intel® JPEG Library
Usage Example: JPGView
Rebuilding JPGView
JPGView is a 32-bit Microsoft* Foundation Classes (MFC) application. It comes with workspace and project files, JPGView.dsw and .dsp, to make rebuilding simple with Microsoft* Visual C++* 5.0. Other versions of
Visual C++ might require recreation of these files.
Learning from JPGView
To find the usage examples of IJL refer to the file JPGViewDoc.cpp:
- method CJPGViewDoc::OnOpenDocument
- method CJPGViewDoc::OnSaveDocument
How To...
view a single image:
- press open button on the toolbar (or select "File\Open..." menu, or press Ctrl-O);
- select the image to view;
view all JPEG images in a directory:
- press the button with multiple folders on it (or select "File\Select Directory...", or press Ctrl-D);
- select the folder to view images from (NOTE: folders containing JPEG files will be edged);
- view images in series by pressing Prev/Next buttons on the toolbar (or pressing Gray-/Gray+, or selecting "View\Previous image"/"View\Next image");
save an image:
- press save button on the toolbar (or select "File\Save" menu, or press Ctrl-S)
- select or enter file name to save image with.
Modifying Viewing Options
- "Resize window with image": the window size is changed to match image dimensions;
- "Center window to prev. window' position": center the window for next image to previous window's center;
- "Center in window": center an image in window;
Modifying Printing Options
- "Scale to fit": when printing scales an image to fit the page (enlarges or reduces);
- Center to page": check if you want the image to be centered on the page.
Intel, the Intel logo, and Pentium are
registered trademarks of Intel Corporation.
*Other names and brands may be claimed as the property of others.
Copyright 2001, Intel Corporation, All Rights Reserved.