8 Bit Color Fill Wrong paletteIndex

I am having an issue with creating a mask on the fly in Director 11 on Windows.
This is an abridged version of my routine just to highlight the problem;
on Test me, v_width, v_height
  myMask = image( v_width, v_height, 8, #grayscale )
  myMask.fill( myMask.rect, [#shapeType: #roundRect, #color: color( 255, 255, 255 )] )
  put myMask.getPixel( 100, 100 )
end Test
Basically if I make an image of 127 x 127 it sets a paletteIndex of 0 as expected, if I go over that and create an image of 128 x 128 it sets a paletteIndex of 168. It seems to only happen with the #roundRect shape. Any thoughts or suggestions? Can other people confirm this as a bug?

I can probably use a flood fill to correct the colour but I would still like to know if this is a bug or something I am doing wrong.
on Test me, v_width, v_height
  myMask = image( v_width, v_height, 8, #grayscale )
  myMask.fill( myMask.rect, [#shapeType: #roundRect, #color: color( 255, 255, 255 )] )
  myMask.fill( point( v_width/ 2, v_height/ 2 ), color( 255, 255, 255 ) )
  put myMask.getPixel( 100, 100 )
end Test

Similar Messages

  • After Effect and 3dsmax VRay + 32 bits color and wrong display

    I have 32 EXR with gamma 1.0 (for future 2.2 in AE)
    and 16 bit PNG with gamma 2.2 for reference
    when Color Managment is None PNG in AAE look exactly like in buffer of 3dsmax! EXR have some difference from it.
    if i check "Preserver RGB" for EXR and apply Levels with 2.2 gamma to compensate Linear on it - look exactly like PNG.
    If i use Color Managment (i try with sRGB and many other profiles) PNG color became some distortions (from 3dsamx buffer).
    Why i cant get EXR=PNG in After Effects???
    How i can get PNG in AAE = EXR in AE = buffer of 3dsmax???
    sorry for my english )

    If you want that EXR to look like the PNG, the simple way is to keep the project working space set to None and check Preserve RGB on the EXR.
    i work in sRGB space in vray buffer. and dont want create more extra filters on every pass/comps for correction to 2.2 from preserved RGB
    The ideal workflow involves previewing your Max renders with a 2.2 gamma applied while creating your scene. That matches what After Effects does by default when you import an EXR.
    No. Now after some days i can do EXR=RGB. my old PNG was in 2.2 gamma. But truth is 2.2 gamma not sRGB! it very very close but no...
    For 100% correct color i must use VRAY buffer with sRGB options. And now i see in render of 3dsmax and in AAE same picture. Just after import.
    (in AAE use 32bit, sRGB profile and linearize workflow)

  • Can't create a solid color fill layer !!

    I wonder if someone can help this PS newbie before I go insane ?
    If I create a color fill layer & want to set it to a solid yellow color I can NOT get it to change color
    no matter what I do on the color picker it remains white
    I start clicking the small circle icon ( half black / white ) & selecting solid color
    I click on the yellow bit of the vertical color bar & use the cursor to select the precise shade of yellow
    to the top right there is a small rectangle
    the color I choose - yellow - appears on the top half , the bottom half is white
    I click OK so my small box is top-half yellow, bottom half white - the layer stays stubbornly white
    shouldn't it go the color I choose ??
    Now whats driving me mad is that last week I was doing this for fun
    I had a jpeg file of a book page that I could create a highlighter pen effect by putting a yellow layer on top & sliding
    the opacity down to 20% or whatever
    I have opened one of the psd files I created & the color fill layer is yellow
    the left-side palette thumbnail is yellow
    when I edit the color the small rectangle is entirely yellow - top & bottom
    I don't know what I am doing differently or not doing that I need to do ...
    any ideas gratefully received !

    YESSSS !!!!
    sanity restored.....you, sir, are a genius.
    thankyou.

  • How do I auto set stroke weight, stroke colors & fill color?

    Hi,
    I'd like to make it easier for our 100,000 designers to use AI to make custom products using a laser cutter.
    Current Practice
    Designers open our AI laser cutting design templates, add their designs using the AI settings our online pricing system can read, then upload their designs to our website for instant pricing, making and shipping.
    The Problem
    Designers have to manually setup AI with settings that can be read by our online pricing system. If they get these settings wrong, our system can not read their designs. So they are rejected and can not be priced or made. This happens more often that you'd imagine.
    The Solution
    Designers do not like design rejections. So I'd like to eradicate them by providing our designers with a version of AI that provides the following settings only:
    * Set document to RGB
    * Stroke weight = 0.01mm
    * Stroke colors = RGB 0, 0, 255 and 255, 0, 0
    * Fill color = RGB 0, 0, 0
    This will mean designers have a very limited number of AI choices, with nothing to distract them or to get wrong. Which will result in less (or zero?) design rejections. And products made faster than before. Rejoice!
    Question
    How do we program our AI laser cutting design templates so that when they are opened in AI, they auto set AI settings as defined above?
    Thanks so much.
    Derek

    Ponoko wrote:
    Your first point - yes, that's what our system does currently. As a result designers get lots of 'how to fix' messages as a result of design rejections. We wish to reduce these rejections and resulting 'how to fix' messages by limiting their choices in AI - because this is where the problems are created.
    Ok, yeah gotcha, so customers/designers think they do it right (cough/laugh) upload, then get surprised to find out they didn't by your upload system. That's kind of what I thought. I feel your pain. ;-) I sense you want to reduce this aspect to keep the customers/designers happy and thinking they do nothing but work magic all day right? ;-) So you don't want to lose customers in the midst of frustration of file rejection thinking there files are right and your system is certainly wrong, when in fact it's the opposite. Good luck explaining that to a designer however, right? ;-)
    Ponoko wrote:
    Your second point - You go on to talk about using a complex "action" we could distribute within the design templates. Although I suspect this is different, the path we're thinking is to include something in the templates that, when imported into AI, sets AI with the color palette we need, line weight we need. Possible?
    As Monika hinted at you can't rigidly restrict or control what a user is allowed to do and use in Illustrator. You can try to reduce the parameters by saving the file as a Template.ait file, but even then they can muck about all day until they mess things up again, plus you have no control whatsoever even then as to whether they use fills, the stroke weights, etc. That is why I mentioned various things to manipulate the file once they deem it completed and ready to submit/upload. Basically a method to fix what they messed up or did incorrectly and instead set things as they should be for submission as I previously mentioned. I mentioned you may be able to create a complex Illustrator "action" action.aia that they run to process these requirements. I am not sure if such an action could be accomplished as all inclusive (perhaps though) otherwise you could as stated do it through scripting and a script they run: script.jsx to prepare the requirements, or an actual standalone helper app you create and provide like I mentioned above as well.
    I see for CorelDRAW & Inkscape you require SVG, why not change that for Illustrator also so all your 2D app submissions are SVG based? Then manipulate the SVG server side, point out the changes and why and have the customer approve the new modified SVG Preview of the needed changes and move along with the process from there? Make all the requirement changes on the server by manipulating the SVG. You should have access to all of the requirements: RGB color model, stroke weight, stroke colors, fill colors, create font outlines, image tracing? I am just tossing out ideas here, get your programmers busy, tell them to stop playing video games and "make it so". ;-)
    But even so, this then begs the question: What are you doing to circumvent the same issues for inept CorelDraw and Inkscape users?
    Since, they have the same freedom to do things incorrectly and misaligned with the requirements, just as Illustrator users do.
    Regardless though of the approach customers/designers may not like seeing certain things changed even minutely in trivial amounts and thusly be just as upset or up in arms with the changes to their pretty design files that they think were not needed in the first place, how dare you undermine them ;-). Same as seeing the file rejection from your system upon upload. Again I feel your pain. You have your Application/File requirements requirements stated nicely and plainly, it should be pretty easy for most, but sadly I guess not.

  • Macbook Pro & Mini Dispalyport Does NOT Support 10 bit Color Monitors

    I am extremely concerned regarding Apple's Mini Displayport. Mini Displayport has been out for a year now, and is the video out port with the maximum signal output on Macbook Pro's. Apple's Mini Displayport still does not offer the compatibility and performance, that is possible with the standard Displayport implantation on Windows.
    Case in point two monitors from NEC and Eizo, the NEC PA214W and the Eizo CG223W:
    http://www.eizo.com/global/products/coloredge/cg223w/index.html
    http://www.necdisplay.com/Products/Product/?product=5a6621b9-e9c4-4f02-8542-e625 1364bf7c
    All current Macbook Pro's with Mini Displayport are unable to support the 10 bit color that these monitors are capable of. This is unacceptable, and an example of Apple leading customers to believe that Mini Displayport, offers the same capabillities and performance as Displayport.
    It is my understanding that on paper MBP's with the NVidia 9400/9600 are capable of outputting a 10 bit signal. They just do not at this point in time, unlike all PC notebooks with Displayport. Mini Displayport has been sold by Apple as being every bit as capable only smaller than Displayport. The truth is it is not.
    Apple notebooks can not currently produce the same level of quality on these monitors as Windows notebooks with Displayport that have also been on the market for a year now.
    http://www.tftcentral.co.uk/newsarchive/19.htm#10-bitips

    Displayport:
    http://www.displayport.org/consumer/
    http://www.displayport.org/consumer/?q=content/faq
    "Performance for a display interface is really bandwidth. So Displayport offers up to 10.8 Gigabits per second. That bandwidth can be allocated for greater color depth (more colors per pixel, i.e.. 30 bit color monitors), it can be allocated to resolution, i.e.. WQXGA , or refresh rate."
    Note: The bandwidth has increased to 21.6 Gbps with the announcement of Displayport v1.2.
    It appears to me that aside from the top of the line (Windows PC) notebooks, that the only systems that will currently be able to achieve 30 bit color with these monitors are going to be desktop systems with Displayport/Mini Displayport and the necessary GPU and Operating System. This is an example of the difficulty in getting accurate information when it comes to what a system can and can not do. Rod correctly pointed out that I was mistaken in saying that "all" PC notebooks with Displayport are capable of achieving 10 bit per channel output, some do not. As BSteely, Lewis, and Rod have discussed Mini Displayport is not what is responsible for the fact that Macbook Pros can not currently output 10 bit per channel signal. Displayport exists and allows for this capability, and I stand by my opinion that currently Macbook Pros with Mini Displayport do not implement the full Displayport spec, in particular the ability to output 10 bit per channel signal to 30 bit color monitors. On the PC side it is the "workstation" class notebooks that have had and continue to have this capability. There may be others, but in reviewing Dell, HP, and Lenovo I am only finding it in the Precision, W series, and Elitebook models. The latest T Series Thinkpads with Quadro GPU's may work as well. At this point, I am not going to research each and every model to determine exactly which notebook models and configurations will work, except to say none of them are Macbook Pros. The lesson here should be get multiple confirmations regarding your system's configuration and your intentions in its use. I was mistaken in my understanding that the MBP 17 with Mini Displayport would support the Displayport spec as it relates to 30 bit color monitors. I have stated what I think is wrong about that, but that is the way it is for now. Apple is not the only company to hype a technology, only to offer a limited implementation of it. "Vista Capable" comes to mind.
    http://www.informationweek.com/news/windows/operatingsystems/showArticle.jhtml?a rticleID=212100567
    This post will hopefully alert others to this limitation. To end on a positive note, in my experience the last six months with my Macbook Pro, Apple has demonstrated it can resolve issues quickly and effectively, and I have been extremely pleased to the extent that they have worked with me to address the few significant issues that have come up, including a system replacement in quick order. This may or may not be something they will be able to address with the current Macbook Pros or even the next generation. We will see.

  • 16 bits color?

    A client complained about the colors in a movie. As it turns
    out they see boundaries of mc's and text fields (in text fields
    it's the rendeing area of the text, not the complete text field) in
    a slightly lighter tint than the background. I tried to replicate
    it and had to set my display to 16 bits.
    Solution? Limit the color scheme to web safe?
    How 'common' is 16 bits color? Isn't this something from the
    middle ages?

    Web safe probably won't help (it may be slightly better, or
    may be worse)
    The problem is a bug in the player .. it renders solid colors
    differently to
    image / gradient fills (and in some other cases). its also
    uses different
    rending when transparency is involved
    If the problem is due to a solid color fill being next to a
    gradient/image
    color, then you can solve the problem by using a gradient
    with only a single
    color in it for the solid fill.
    Apart from the fact that web safe colors are not web-safe at
    all (apart from
    a handful, like a handful of blues and the primary colors) it
    really won't
    make a significant different (the web-safeness of the color
    is not the
    issues here)
    Just have a think on this for a moment .... No matter WHAT
    color system you
    use on a screen (8-bit, 16-bit, 24-bit, 32-bit), if the PC is
    trying to
    output a given RGB color, it will display the same everywhere
    on that screen
    .. it may be different to what some other computer would
    show, but it would
    be consistent across the screen. So the problem is that Flash
    really is
    trying to display different colors on different pixels where
    it should be
    trying to display the same color (if it wasn't for the bugs
    in how it
    renders). Now, changing what color is there may increase or
    lessen the
    visible difference, but it is unlike to help (unless you do
    something like
    use pure black or pure white etc, which I think Flash manages
    to get right)
    NOTE: There is a technote that tries to explain away why this
    happen so it
    doesn't look like it's a bug (technotes are good at that).
    But it really is
    a bug.
    Jeckyl

  • How do I Convert a  Tiff image to a jpeg without being FORCED to 8-bit Color?

    I am an Artist.  I have High quality TIFF images.  When I convert the tiffs to jpeg it forces me into 8-bit color automatically. (Forget about 32bit - it will not allow me to jpeg that at all)   The only way I can get back to 16bit color is to use the already SMAshed file and bring it up to 16bit.  THIS makes NO sense.  Once the jpeg is smashed, HOw in the world is it supposed to convert up again. ??  Then even though it says you converted the file to 16 -bit , the metadata refers still to the file as 8-bit.
    On top of all of that confusion, One picture, for example, when supposedly converted to 16bit,  gets much BRighter then even the original Tiff image.  It looks good on one hand and over exposed on the other.  I assume that is photoshop throwing in fake resolution, am I right?
    Am I wasting my time with this imaginary 16bit conversion?
    Is there ANY way to take that original Tiff image and convert it to 16bit jpeg without the Default 8bit?  I have been trying all kinds of things.  I even have asked my web guy.  My web guy says that 8-bit is unexceptable for printing, even for web.
    Could this have anything to do with my computer and scanner?
    I have the iMAC OS X 10.8.3 (3.2 GHz) 8 GB memory.
    And I also have an Epson Expression 10000XL graphic arts scanner capable of scanniing at 48bit color.
    This color stuff Really matters!  It MATTERS!  I HAve FINE art files.  I am already losing so much quality with the jpeg conversion. (which I am required to do for SmugMug, in addition to compressing all my files to 50mb or Under)
    Anyone who knows anything that could help me would be much appreciated. 
    Aloha,
    -Melissa

    First of all jpeg is 8 bit only there is no way to save as a 16 or 32 bit jpg, just does not exist. Secondly people print in 8 bit all the time and most if not all web graphics are in 8 bit as that is the only way to view it as there is no 16 bit or 32 bit monitors to view it. All but a few pro monitors are 8 bit monitors.
    If you care about the color gamut and want the full range of color that 16 and 32 bit provide, then why jpg? Jpg by its own nature throws out color just to compress, thats why it is popular on the web, because of its small file size not its quality. If you need 16 or 32 bit for anything it must be in a format that supports that color depth.
    That being said a jpg image at 8 bit will display 16+ million colors,  256 shades of red, 256 shades of green and 256 shades of blue.
    Now here is where I think your bit information is off. a jpg image is a 24 bit image that will produce 8 bits of red, 8 bits of green and 8 bits of blue.
    The 8, 16 and 32 are per channel not total color information.
    If the overall image was 8 bits, the image would be gayscale.

  • OBIEE 11g . Transparency of the color fill in Mapviewer

    Hi,
    How to set transparency level of the color fill in Mapviewer integrated with OBIEE 11g?
    Thank you for your time!
    Pavel

    Hi,
    Go into the styling rules of your map in MapBuilder and change the render style to a darker color, so when it is rendered over the map in OBIEE it becomes opaque.
    See if this helps you
    W.

  • Does anyone know how to change my 27"iMac to 32 or 24 bit color resolution to allow me to use Citrix Receiver?

    Does anyone know how to change my 27"iMac to 32 or 24 bit color resolution to allow me to use Citrix Receiver?

    Does anyone know how to change my 27"iMac to 32 or 24 bit color resolution to allow me to use Citrix Receiver?

  • T500 with External Monitor Seems to Be in 8 bit Color

    I got a T500 for work running Windows 7 x64. I hooked up the computer to an external monitor via the VGA port (I've connected directly to the laptop and also through the Thinkpad dock).
    Despite my best efforts the external monitor seems to render in 8 bit color mode (or maybe 16 but definitely not 32 bit). You can tell by lack of color in the gradients. Things I've tried.
    Updating the video drivers
    Using the IBM monitor tool to set it to 32 bit
    Setting it to 32 bit in the Windows settings

    Just to close the loop on this, I've determined that the cause of my issue is the Intel Dynamic Platform and Thermal Framework software/driver. I've disabled in the BIOS for now, and the machine is working very well. Will look for an update from Lenovo to address more definitively.

  • How to make a one-color fill images with masks in documents from our multiple layers ?

    Hello everyone!
    I`m to open PSD document with same layers. I need to:
    1. Save the jpg file (preview) in a certain place
    2. All layers with masks to make one-color fill instead of images with masks.
    Thanks
    This is way ?
    var theLayers = collectLayers(app.activeDocument, []);
    alert (theLayers.join("\n"));
    function collectLayers (theParent, allLayers) {//---------------------------------------------------
    if (!allLayers) {var allLayers = new Array}
       else {};
       for (var m = theParent.layers.length - 1; m >= 0;m--) {
          var theLayer = theParent.layers[m];
          if (theLayer.typename == "ArtLayer") {
               var bar = new Array;
               bar = theLayer.bounds
               l0= Math.abs(this.app.activeDocument.width - theLayer.bounds[2] - theLayer.bounds[0]);
               l1= Math.abs(this.app.activeDocument.height -theLayer.bounds[3] - theLayer.bounds[1]);
                if((l0+l1)>0) { // layer mask is set
                    // delete this layer
                    //create new layer
                    //create new mask from array bar
                    //fill selection
                allLayers.push(theLayer);
       return allLayers

    I may not quite follow.
    Would you mind posting an example (a screenshot with the Layers Panel visible for example) and an overview of the resulting images you want to produce?

  • Strange redaction issue with no color fill for redacted area

    I have it set for No Color in the redacted area fill color.  When I mark my redaction, choose apply redaction, the selected area is still shown.  When I save the file, exit, and then re-open, the redaction is gone like it is supposed to.  Now if I choose a redacted area fill color, mark my redaction and then apply, the color fill area works.  I have to redact many pages daily, and having to save and reopen to verify my work is very time consuming.  The weird thing is that it doesn't happen to every document that I'm working on.  I'm using Adobe 11.0.07.  Any solution greatly appreciated!  Thanks.

    That makes sense.  I guess the documents i was having trouble with were all scanned documents.  I never had troubles with any documents that haven't been scanned.  But on some parts of those scanned documents, which is all white background, the no color fill works, and some spots it doesn't.  I thought maybe you could see spots where it fills in white.  I will just use the white back ground.  Thanks.

  • Same 6 bit color? I bet it is.

    Sadly, all we have for color depth in the tech specs is the same old 'support for millions of colors' which we know in the past to have been a total lie. All the laptop displays have been 6 bit color, 262,144 colors, period. A great article on 6 bit versus 8 bit color can be found at:
    http://compreviews.about.com/od/multimedia/a/LCDColor.htm
    The tech specs for the new laptops don't indicate any improvement.
    And yes, the displays use dithering to fake millions of colors. Yes, all displays use mixing of RGB colors to fool the eye into seeing millions of colors. And yes, not one laptop display I am aware of, including PCs, has adequate color depth to allow any real color matching for professional use. Use a high end external display for color matching purposes. CRTs are still considered adequate if not superior for this purpose.

    Umm...
    Every laptop has 6bit colors. There aren't any 8bit laptop panels that Apple could use infact. Except for some very new 17" ones...
    The thing is, 8 bit panels use more power and are regarded by most of the industry as overkill for laptops.
    Anyway I repeat, there are no 13" 8bit panels in existence.
    You want 8 bit color? Plug in a CinemaHD or a Dell VA or IPS panel.

  • Is my Cinema Display running in 32-bit color mode?

    I'm calibrating my Cinema Display and have read that I should check to see that it is running in full 24- or 32-bit color mode. Can anyone tell me how to do that? Thanks.

    Open the Displays pane of System Preferences. If you're given the option to change the monitor's bitdepth, choose at least millions of colors.
    (119642)

  • Display seems like 16 bit color with slight flicker

    When I turned my iMac on today, it's like the display color spectrum is on 16 bit color and it has a flicker to it.
    This happed all of the sudden.
    It's less than a year old.
    21" iMac
    Intel Core 2 Duo
    NVIDIA GeForce 9400
    VRAM 256MB
    Any ideas?

    16bit colour is the default maximum colour depth for RDP connections to a windows terminal server. You can increase this by editing the local group policy object on the windows machine.
    Go to start->run and type gpedit.msc
    Browse to Computer Configuration/Administrative Template/Windows Components/Terminal Services and edit the "Limit Maximum colour depth properties" key. Set it to enabled and select 24 bit. Click OK close group policy editor. You should now be able to get 24bit colour over RDP connections.

Maybe you are looking for

  • Upgrade of GRC 5.2 to GRC AC 5.3

    Hello, During an upgrade of GRC AC 5.2 to GRC AC 5.3, when we uninstall GRC AC 5.2 and install GRC AC 5.3 on the same server, 1- Do we lose all existing configurations of GRC 5.2 eg. workflows, connectors, rule sets etc and will I lose existing reque

  • Restore back up from a synology disk station

    I have just had my hard disk replaced. Before doing this I backedup (using Time Machine) wirelessly ove rmy network on a Synology DS210J diskstation. I have now got my MAC back but I can not restore. Any help 

  • How do I change the name of a podcast once submitted to itunes??

    how do I change the name of a podcast once submitted to itunes?? anyone know? I submitted my first podcast, then changed the name in feedburner. The new name is appearing once you are in the podcast window of my itunes, but not in the itunes store ca

  • Tagging files in Mountain Lion

    What is the difference tagging files with spotlight comments vs. with Open Meta apps like Tagger and Punkea?

  • Database Account Credentials

    I have the following questions: 1. I currently have APEX 2.0 in 3 databases. How can I upgrade them to APEX 2.2? APEX 2.0 uses the tablespaces called HTMLDB and FILES. 2. How can I use database account credentials in APEX 2.2? Is there any detailed i