ADC Home > Reference Library > Technical Notes > Legacy Documents > Graphics & Imaging >
Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
|
GetPictInfo and QuickTime compressed PICT filesDate Written: 2/24/92 Last reviewed: 8/1/92 Is it my imagination, or does Yep! This is what's happening: The Picture Utilities Package doesn't know of
the QuickTime Compressed Pixmap opcode (0x8200), so it just skips over the opcode's data;
then it finds the Trivia: When QuickTime is installed, it displays the compressed image and then
ignores the following NewPalette doesn't use CTab2Palette to create a paletteDate Written: 3/12/92 Last reviewed: 6/14/93 I'm using the Picture Utilities Package to extract the color table from a
picture. After getting the color table, I use It turns out that NewPalette doesn't use The best solution for your code isn't to compare the entire RGB value when comparing colors, but rather to compare the high byte of each RGB component separately. If this isn't possible, the next best solution is for you to use the workaround that you've already discovered with CTab2Palette. It's unlikely that the Palette Manager is going to change in the future for something like this. In fact, we would almost call it a "feature" since other developers may even depend on it. Spooling PixMaps to diskDate Written: 6/10/91 Last reviewed: 10/22/91 Do you have sample code for spooling Apple recommends that you do not try to write the PICT opcodes yourself.
Instead, replace the Two additional samples can be found in the sample code contained in the Developer CDs. Look for: "Tools & Apps: Graphics and Imaging: PICT Stuff." One is a program and the other is an FKEY; both dump the main screen to disk as a PICT. The FKEY is a more complete sample in the sense that it works in black and white as well as Macintosh color computers, but the other is a smaller and simpler sample. Getting the color usage from a picture under System 6Date Written: 6/8/92 Last reviewed: 9/15/92 Do you know how I can obtain the color table of a picture when using a system version that happens to be less than 7.0? The Picture Utilites package seems to be only implemented in System 7.0. You're correct; the Picture Utilities package is implemented only under System 7. However, it's possible to write code to duplicate its functionality under System 6. Basically, what you wantto do is parse a picture, looking at the colors used for the different objects. How you deal with the colors is up to you. What you do is replace the QuickDraw bottlenecks in a Downloadables
|
|