Claims
- 1. A method for changing the color depth of an object stored as a device dependent bitmap in memory of a computer system in response to a change in the color depth of a display device, the method comprising:determining the changed color depth of the display device; finding in system memory an object selected for transfer to the display device and stored as a device dependent bitmap whose color depth differs from the changed color depth; and converting the object to the changed color depth while the object is in memory.
- 2. A method for changing the color depth of an object stored as a device dependent bitmap in memory of a computer system in response to a change in the color depth of a display device, the method comprising:determining the changed color depth of the display device; finding at one time all of the objects in memory whose color depth differs from the changed color depth; and converting the objects to the changed color depth while the objects are in memory.
- 3. The method of claim 1 wherein the finding step includes:checking the object color depth in memory against the changed color depth; and if the color depths match, transferring the object to the display device.
- 4. The method of claim 1 wherein the conversion step is initiated by a user.
- 5. The method of claim 1 wherein the conversion step is initiated by an application automatically.
- 6. In a computer system, apparatus for changing the color depth of an object stored as a device dependent bitmap in memory of a computer system in response to a change in the color depth of a display device comprising:means for determining the changed color depth of the display device; means for finding in system memory an object selected for transfer to the display device and stored as a device dependent bitmap whose color depth differs from the changed color depth; and means for converting the object to the changed color depth while the object is in memory.
- 7. In a computer system, apparatus for changing the color depth of an object stored as a device dependent bitmap in memory of a computer system in response to a change in the color depth of a display device comprising:means for determining the changed color depth of the display device; means for finding at one time all of the objects in memory whose color depth differs from the changed color depth; and means for converting the objects to the changed color depth while the objects are in memory.
- 8. A computer-readable medium on which is stored a computer program for changing the color depth of an object stored as a device dependent bitmap in memory of a computer system in response to a change in the color depth of a display device, the computer program comprising:instructions for determining the changed color depth of the display device; instructions for finding in system memory an object selected for transfer to the display device and stored as a device dependent bitmap whose color depth differs from the changed color depth; and instructions for converting the object to the changed color depth while the object is in memory.
- 9. The method of claim 1 wherein the converting step comprises using a look up table to convert the object to the changed color depth, the bits for the pixels of the object being an index into the table.
- 10. A method for changing the color depth of an object stored as a device dependent bitmap in memory of a computer system in response to a change in the color depth of a display device, the method comprising:determining the changed color depth of the display device; finding in system memory an object stored as a device dependent bitmap whose color depth differs from the changed color depth; and converting the object to the changed color depth while the object is in memory, including duplicating one or more bits per pixel.
- 11. The method of claim 1 wherein the converting step comprises truncating one or more bits per pixel.
- 12. The apparatus of claim 6 wherein the converting means comprises a look up table with the bits for the pixels being an index into the table.
- 13. In a computer system, apparatus for changing the color depth of an object stored as a device dependent bitmap in memory of a computer system in response to a change in the color depth of a display device comprising:means for determining the changed color depth of the display device; means for finding in system memory an object stored as a device dependent bitmap whose color depth differs from the changed color depth; and means for converting the object to the changed color depth while the object is in memory, including duplicating one or more bits per pixel.
- 14. The apparatus of claim 6 wherein the changing means comprises means for truncating one or more bits per pixel.
Parent Case Info
This application is a continuation of application Ser. No. 08/562,081, filed Nov. 27, 1995, now U.S. Pat. No. 5,774,126.
US Referenced Citations (9)
Number |
Name |
Date |
Kind |
4897799 |
Le Gall et al. |
Jan 1990 |
A |
5388201 |
Hourvitz et al. |
Feb 1995 |
A |
5420605 |
Vouri et al. |
May 1995 |
A |
5469190 |
Masterson |
Nov 1995 |
A |
5528261 |
Holt et al. |
Jun 1996 |
A |
5550954 |
Campbell et al. |
Aug 1996 |
A |
5566283 |
Modegi et al. |
Oct 1996 |
A |
5767833 |
Vanderwiele et al. |
Jun 1998 |
A |
5905820 |
Cushman et al. |
May 1999 |
A |
Continuations (1)
|
Number |
Date |
Country |
Parent |
08/562081 |
Nov 1995 |
US |
Child |
09/062360 |
|
US |