home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
windows
/
getbitmp.zip
/
GETBITMP.DOC
< prev
next >
Wrap
Text File
|
1988-01-05
|
3KB
|
48 lines
GETBITMP -- Free bitmap utility application for Microsoft Windows
written by Bernard de Champlain for "Les Consultants Génicom inc."
Getbitmp is a small utility that permits you to grab bitmaps in the
Clipboard, to resize them and to save them in standard bitmap files. The size
of the bitmap is not limited by the 64 x 64 limit of IconEdit. The source code
is supplied for those of you who might want to modify it, the EXE file has been
compiled with Windows SDK 1.04. This program is by no means a complete
application, I have added options as they were needed. A couple of new features
that MAY be added in the future include: 1) seeing the bitmap, 2) loading the
bitmap from a file, 3) Copying the bitmap to the clipboard. This program has
been designed for monochrome bitmaps and will probably not work with color
bitmaps.
A typical usage would be: Drawing a pattern with Paint, copying that
pattern to the Clipboard, then using Getbitmp you would use the Capture option,
if needed use the Size option (explained later), and to finish use the Save
option and enter the file name (the .BMP extension is the default). The Size
option does not actualy resize the internal representation of the bitmap but
only the next saved copy, so there is no loss of information and it is possible
to make multiple saves of the same bitmap but with different sizes without
having to reCaputure the bitmap. The default size when you first use the size
option is the actual size of the bitmap, all sizes are in pixels. The method is
the algorithm used to resize the bitmaps, White on Black preserves white pixels
at the expense of black pixels by ORing the lines to be eliminated with the
remaining lines, Black on White preserves black pixels at the expense of white
pixels by ANDing the lines to be eliminated with the remaining lines and Color
on Color throws all eliminated lines out without trying to preserve their
information.
This program was writen while developping a much larger program for "Les
Consultants Génicom inc." as a utility for manipulating bitmaps (there are
over Fourty Bitmaps in the main program), since there were none available. This
program may be freely distributed as long as this notice remains. For private,
noncommercial use only, NOT FOR RESALE. If anyones wants to modify this
program, please make the new (and improved) version available to everyone by
uploading to Compuserve and keep me posted...
Les Consultants Génicom inc.
CAN: 3431 Drummond, S.100, Montréal, QC, H3G 1X6, Tel: (514)-844-1031
or (514)-844-1032
USA: 55 Prentiss Street, Watertown, MA, 02172, Tel: (617)-239-8242
[76246,353] on Compuserve for Les Consultants Génicom or me.
Bernard de Champlain