Copyright: © Copyright 1997 Peter Beyersdorf
Citation: © Copyright 1997 Peter Beyersdorf


DeviceInfo

Version 2.0

© Copyright 1996, 1997 Peter Beyersdorf

Overview

Working with DeviceInfo

Key

Source-code

Updates, information and other software: http://www.beyersdorf.com/

Known problems and bug report

Changes

Freeware-conditions of use

Save

Peter Beyersdorf

Engelsgrube 29

D-23552 Luebeck

Germany

EMail: peter@beyersdorf.com

CompuServe ID: 100407,124

CompuServe Name: Beyersdorf

http://www.beyersdorf.com/

Phone: +49-511-559211

Fax: +49-511-559213

All Borland product names are registered trademarks of Borland International, Inc.

Netscape Communications, Netscape and Netscape Navigator are trademarks of Netscape Communications Corporation.

Microsoft, MS-DOS and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

CompuServe is a registered mark of CompuServe Incorporated.

GIF is a Service Mark property of CompuServe Incorporated.

TIFF and Adobe are either registered trademarks or trademarks of Adobe Systems Incorporated or its subsidiaries.

TGA and Truevision are either registered trademarks or trademarks.

All other brand and product names are marks or registered marks of their respective companies.

01/17/1998 · Subject to change · No warranty can be made for availability of the products · Latest prices, versions and information on the Web: http://www.beyersdorf.com/


Overview

DeviceInfo is a small utility that displays information about the screen and printer device-contexts used by windows. Thus DeviceInfo can be a big help programming graphic-applications and resolving problems with display and printer-drivers.

Freeware; Environment: Windows95; Bilingual (English and German)


Working with DeviceInfo

Select the device from the Device-menu.

You will find the meaning of the identifiers used in the list in the Win32-Programmer's-Reference. Search for the GetDeviceCaps function.


Key

DeviceInfo is freeware. But I must make a little bit of advertizing for my web-pages. So, you need to enter a key if you want to use DeviceInfo for a longer period without being disturbed by nag-screens. This key can be found for free at my web-site http://www.beyersdorf.com/. Look for DeviceInfo. It is not allowed to give away the key.


Source-code

Interested programmers can download the Delphi 2 source-code for DeviceInfo, but it is not allowed to give away the source-code or a recompiled version of DeviceInfo.


Updates, information and other software on the Web: http://www.beyersdorf.com/

PixelGraphicLibrary for Delphi 2 and Delphi 3

The PixelGraphicLibrary offers several image processing objects and components for Delphi 2 and Delphi 3.

It includes a powerful TPixelGraphic object, which can hold the pixels' data in memory independent from the color resolution of the system. TPixelGraphic offers a Canvas, very fast Pixels and Bits properties, Stretch and Rotate methods which can make use of interpolation to avoid disturbing stair effects, palette optimization, dithering and a lot more...

A TPGImage control is included to display a PixelGraphic on the screen. This control can display true color graphics with an optimized palette and Floyd Steinberg Dithering on 256 color systems while keeping the true color data in memory. The palette optimization, dithering and stretching operations needed for an optimal output can be performed by an internal thread. This way your application can already react to user input while these calculations are performed. Great care was taken to ensure that this powerful control is extremely easy to use. The PixelGraphicLibrary is primarily designed to be used as the backbone for image processing applications but TPGImage offers several features like tiling, which make it the ideal component if you want to add wallpaper to your applications. Several transparent controls, like TPGRadioButton, TPGCheckBox and TPGPanel, are included in the library to be used on a TPGImage.

A TPGFileOpenDialog and a TPGFileSaveDialog add a preview for graphic files to the standard dialogs. These dialogs make extensive use of threads to give a great look and feel. The user does not have to wait until a file is loaded and a preview is generated before he can select another file. These dialogs are extremely easy to use, too. As an application programmer you probably will not notice that threads are used internally.

Several filter objects which can be applied on a graphic are also included. There are filters to operate in RGB, CMY, YCbCr, HLS and HSV color space. A convolution filter includes sharpen, detail, smooth, blur and contour features. Other filters allow you to grayscale an image (with or without RGB-weighting), to create a negative of a graphic or to change a graphic’s brightness, contrast and gamma. The included filter dialog components can be easily used by your application. Most of these allow you to change several parameters and show a small preview. These easy to use filter dialogs make internal use of threads to offer the best possible look and feel.

Several file formats, including the modern png format, are supported. The PixelGraphicLibrary also offers an interface to add support for your own and additional file formats.

The PixelGraphicLibrary is inside a single unit! No DLLs!

Shareware; 30-days-trial-period; Environment: Windows95, Delphi 2, Delphi 3; Shipped in zip archive; still incomplete documentation; Disk and key: DM 79,-- plus DM 5,-- S&H; CompuServe SWREG: 16340, US$ 49 (disk and key, inclusive S&H); CompuServe SWREG: 16341, US$ 39 (only key)

HexDecCharEditor

The HexDecCharEditor is more than a common hex-editor for programmers who want to view, modify, search, compare and analyze binary files.

Due to the possibility to set, save and search for colored marks the HexDecCharEditor is especially suited to analyze file formats. It can be switched between hexadecimal and decimal output and input. At the same time the bytes are displayed as characters. Of course it is also possible to enter the bytes as characters from the keyboard. The HexDecCharEditor offers a lot of easy to use options for the search for and replacement of sequences of hexadecimal or decimal byte-values and characters. Several jump-functions are implemented. Data can be loaded directly from the clipboard. This makes the HexDecCharEditor the perfect tool for analyzing clipboard-formats. Obvious to mention that hex-dumps can be printed with and without marks.

Warning: The HexDecCharEditor is a powerful tool if it is used by an experienced programmer. Due to the fact that modifying files can damage the data and the software of a system and can lead to an unstable system, the HexDecCharEditor should not be used by persons who are not aware of the possible consequences.

Shareware; 30-days-trial-period without disturbing shareware-hints¹; Environment: Windows95; Bilingual (English and German); Disk and key: DM 29,-- plus DM 5,-- S&H; CompuServe SWREG: 15854, US$ 20 (disk and key, inclusive S&H); CompuServe SWREG: 15855, US$ 10 (only key)

BitmapShrinker

The BitmapShrinker is mainly a tool for authors of web-pages and help-files. It can shrink and enlarge graphics. The BitmapShrinker tries to choose the best fitting colors for the pixels in the resulting graphic to avoid disturbing stair and block-effects. The used method is often called anti-aliasing or bilinear interpolation.

Optimized color-palettes can be created or the graphic can be mapped to widely used standard palettes. This way it can be achieved an optimal result when the graphics are to be displayed in web-pages or other documents on 256-color systems. The BitmapShrinker can generate graphics, for example screen-shots of program-windows, with a special 6x6x6-palette. Graphics with that palette will usually not be dithered by the Netscape Navigator and the Microsoft Internet Explorer when displaying them on 256-color Windows systems. That's why the BitmapShrinker is very useful for software-authors, who want to include screen-shots of their application in web-pages or help-systems. Screen-shots can be loaded directly from the windows clipboard into the BitmapShrinker. The resulting graphic can be copied to the clipboard or saved to files. A lot of different file-formats, also the new PNG-format, are supported.

Shareware; 30-days-trial-period without disturbing shareware-hints¹; Environment: Windows95; Bilingual (English and German); Disk and key: DM 29,-- plus DM 5,-- S&H; CompuServe SWREG: 15856, US$ 20 (disk and key, inclusive S&H); CompuServe SWREG: 15857, US$ 10 (only key)

CurrentPalette

CurrentPalette displays the palette realized by windows on 256-color systems. It is a very useful utility for programmers creating applications that make use of color palettes. The palette-index and the RGB-color-values of the pixel under the mouse-cursor are displayed continuously. CurrentPalette is also able to make pixels of a specified color flash and to count them.

Freeware; Environment: Windows95, 256 colors; Bilingual (English and German)

Key for CurrentPalette

CurrentPalette is Freeware. But I must make a little bit of advertizing for my web-pages. So, you need to enter a key if you want to use CurrentPalette for a longer period without being disturbed by nag-screens. This key can be found for free at my web-site. Look for CurrentPalette. It is not allowed to give away the key.

Source-code for CurrentPalette

Interested programmers can download the Delphi 2 source-code for CurrentPalette, but it is not allowed to give away the source-code or a recompiled version of CurrentPalette.

Environment: Windows95, Delphi 2.0

DeviceInfo

DeviceInfo is a small utility that displays information about the screen and printer device-contexts used by windows. Thus DeviceInfo can be a big help programming graphic-applications and resolving problems with display and printer-drivers.

Freeware; Environment: Windows95; Bilingual (English and German)

Key for DeviceInfo

DeviceInfo is Freeware. But I must make a little bit of advertizing for my web-pages. So, you need to enter a key if you want to use DeviceInfo for a longer period without being disturbed by nag-screens. This key can be found for free at my web-site. Look for DeviceInfo. It is not allowed to give away the key.

Source-code for DeviceInfo

Interested programmers can download the Delphi 2 source-code for DeviceInfo, but it is not allowed to give away the source-code or a recompiled version of DeviceInfo.

Environment: Windows95, Delphi 2.0

Link to GIF2PNG

PNG (Portable Network Graphics) is a modern very powerful file-format that allows lossless compression of graphics with different color-resolutions. The PNG file format spreads fast due to its power and clear specification. This MSDOS-utility, which was written by A. Lehmann, allows to convert graphics stored in the GIF file format to the PNG file format.

Environment: MSDOS

¹	It may happen that the disturbing shareware-hint will appear before the 30-days-shareware-trial-period ends, if the system time is set or disturbed.
01/17/1998 · Subject to change · No warranty can be made for availability of the products · Latest prices, versions and information on the Web: http://www.beyersdorf.com/


Known problems and bug report

Known problems

None

Bug report

Please let me know about errors and mistakes in the software or the documentation, incompatibility with hardware and other software and problems of other kind that are related to one of my software-products.


Changes

This is the first published version!


Freeware-conditions of use

•	DeviceInfo is freeware. DeviceInfo is not Public Domain. You may use DeviceInfo for no charge and at your own risk.

•	This software is supplied as is. The author disclaims all warranties, expressed or implied, including, without limitation, the warranties of merchantability and of fitness for any purpose. The author assumes no liability for damages, direct or consequential, which may result from the use of this software.

•	This software is not designed to be used with systems which contain data regarding the security of persons, assets, or valuable data.

•	You may distribute copies of the unaltered original archive DevInfo.zip containing the executable DevInfo.exe, as it can be found on the Web under http://www.beyersdorf.com/, to friends, colleges and other interested persons. Copies of the unaltered original archive DevInfo.zip containing the executable DevInfo.exe may also be included within freeware-collections, for example on CDs. Persons receiving copies of DeviceInfo must not get the impression that they have to pay for being allowed to use the software.

•	You are not allowed to make the key accessible to other persons. The key must remain exclusively available from my web-site http://www.beyersdorf.com/.

•	You are not allowed to make the source-code available to other persons. This also means that you are not permitted to make the archive DISource.zip available to other persons. The source-code must remain exclusively available from my web-site http://www.beyersdorf.com/.

•	You are not allowed to distribute a modified version of this software.

•	If one of the above mentioned regulations becomes inoperative, the validity of the residual conditions (terms) remains unaffected.

01/17/1998 · Subject to change · No warranty can be made for availability of the products · Latest prices, versions and information on the Web: http://www.beyersdorf.com/


SAVE

I am member of the SAVE (Shareware Autoren VEreinigung), that is a German Shareware-Author-Assosiation. The SAVE can be found on the Web under http://www.s-a-ve.com/. There, you can also order/register on-line. My SAVE-author-ID is BEY. The IDs of my prducts are:

Product	ID	Order/register on-line
HexDecCharEditor	BEY_010	http://www.s-a-ve.com/savereg/order/bey_010.htm
BitmapShrinker	BEY_020	http://www.s-a-ve.com/savereg/order/bey_020.htm
CurrentPalette	BEY_030	Freeware
DeviceInfo	BEY_040	Freeware
PixelGraphicLibrary	BEY_050	http://www.s-a-ve.com/savereg/order/bey_050.htm