|
2007-10-31
| ||
| 02:50 | • Closed ticket [220835ffff]: image create bitmap not using Tk_DefineBitmap plus 3 other changes artifact: bc469b4d21 user: hobbs | |
| 02:50 | • Ticket [220835ffff]: 4 changes artifact: 6108aee556 user: hobbs | |
|
2003-11-13
| ||
| 07:07 | • Ticket [220835ffff]: 1 change artifact: 8b3bc7efde user: dgp | |
|
2001-03-24
| ||
| 22:24 | • Ticket [220835ffff]: 1 change artifact: 441a724850 user: dgp | |
| 13:18 | • Ticket [220835ffff]: 1 change artifact: 2132ddf820 user: dgp | |
| 13:18 | • Ticket [220835ffff]: 1 change artifact: dbe1ff09e6 user: dgp | |
|
2000-11-22
| ||
| 20:18 | • Ticket [220835ffff]: 4 changes artifact: a390f20ee2 user: dkf | |
|
2000-11-01
| ||
| 01:29 | • New ticket [220835ffff]. artifact: 1626200ac7 user: welch | |
| Ticket UUID: | 220835 | |||
| Title: | image create bitmap not using Tk_DefineBitmap | |||
| Type: | RFE | Version: | None | |
| Submitter: | welch | Created on: | 2000-11-01 01:29:38 | |
| Subsystem: | 40. Bitmap Images | Assigned To: | dkf | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2007-10-31 02:50:25 | |
| Resolution: | Out of Date | Closed By: | hobbs | |
| Closed on: | 2007-10-30 19:50:25 | |||
| Description: |
OriginalBugID: 1773 RFE
Version: 8.1b3
SubmitDate: '1999-04-09'
LastModified: '1999-04-16'
Severity: SER
Status: UnAssn
Submitter: pat
ChangedBy: stanton
OS: Solaris
Machine: Other
Name:
Peter Weigand
Comments:
Feature for bitmaps:
new commands "bitmap put x y foregroundorbackgroundorinvisible" and
"bitmap get x y".
this allows modification of bitmaps which sounds for me as a nice
feature.
ReproducibleScript:
if you create an image of type bitmap with the "image create bitmap"
command
then this image is created in the hash list for images but not in the
hash list
for bitmaps. Therefore you are not able to use such a bitmap in certain
commands, e.g. .canvas create bitmap.
ObservedBehavior:
try "image type gray50" it will say image does not exist.
If you create a bitmap with "image create bitmap: then "image type
nameofbitmap"
will give you the information. If the bitmap and photo get mixed it also
needs more checking of which type the image is in certain functions. If
the mixing is allowed then why do we have a bitmap and photo type in the
commands, it could be determined on the fly.
If you created an image with "image create bitmap" then a ".canvas
create image" will create the bitmap but as type image instead as
desired of type bitmap.
Therefore postscript generation of the bitmap does not work because it
is of type image.
DesiredBehavior:
Bitmaps however they are created should be in the bitmap hash list so
you can access this bitmap with any bitmap command, e.g. canvas create
bitmap.
Right now there is an inconsistence.
| |||
| User Comments: |
hobbs added on 2007-10-31 02:50:24:
Logged In: YES user_id=72656 Originator: NO -bitmap should just go away in favor of improved image support dkf added on 2000-11-22 20:18:39: Much more work needs to be done unifying bitmaps and bitmap images; the largest problem that I see at the moment is that bitmaps are used in a number of places (notably stipples and cursors) that would require extensive additional callbacks to handle changes. There are also some semantic differences, since bitmaps are single bitplane pictures with no colour information and bitmap images are a pair of bitmaps (known as the bitmap and the mask) together with a specifcation of colours to use for "foreground" and "background" (though those words are IMHO somewhat misleading.) Frankly, this is a mess and it needs careful handling... | |||