How to enter 16 bit RGB value?

I created a new blank file with 16 bit per channel mode.
I expect that RGB values would be three 16-bit numbers (0 to 65535) but when I try to manually enter a RGB value, each color is still 0 to 255. Why??

Obviously one cannot input in any RGB mode anything else
but integers 0...255 (in CS2).
The reason is probably this: besides special tests, a
higher resolution than 8bpc for input data is of no
practical value.
The range for 16bpc is not 0...2^16-1 but 0...2^15+1.
0 is mapped to 0, 128 to 16448 and 255 to 32768.
These values are shown in the InfoPalette by clicking
on the small triangle right to the eyedropper, followed
by choosing 16bpc.
Best regards --Gernot Hoffmann

Similar Messages

  • How to view 16-bit RGB information?

    I'm using Photoshop CS4 v. 11.0.  I open a .tif which is 16-bit RGB.  Photoshop recognizes it as 16-bit.  The tab over the picture says RGB/16*. (I don't understand the asterisk)  Image>Mode confirms that it is 16 Bits/Channel.
    However the info panel only shows the 8-bit RGB values (0,255). The panel options do not include a bit depth selection.  How can I see the RGB values, perhaps (0,32767), in the .tif image using Photoshop?

    Simple answer this one - In your info panel, there is a tiny eyedropper beside the RGB values. If you click, this it gives you various options. Including the ability to read 16 bit values.

  • Help processing a byte[] of packed (24-bit) RGB values

    I'm having some difficulty converting a byte[] of RGB values to a JPEG using the ImageIO classes. The byte[] contains 24-bit RGB values and I'd like to somehow get this data into a format that can be saved to a JPEG File (presumably with JPEGImageEncoder?)
    Any advice on where to get started would be greatly appreciated!

    the ImageIO class wants a BufferedImage, which in my opinion is the easiest way to work with image files.
    You first construct a BufferedImage object, like this:
    BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);Width and height you should know, they are the dimensions of the image in pixels.
    You can use the setRGB() method to set a single pixel of the image, something like this:
    byte[] rgb; // get this somewhere, it is your byte array of RGB values
    // index into the rgb array
    int i = 0;
    for(int y = 0; y < height; y++){
         for(int x = 0; x < width; x++, i+= 3){
              byte a = 0;
              byte r = rgb;
              byte g = rgb[i+1];
              byte b = rgb[i+2];
              int pix = ((a << 24) + (r << 16) + ([g << 8) + b);
              img.setRGB(x,y,pix);
    This is typed from memory, I may have made a mistake somewhere. Right now I assume the byte array contains only RGB components, that's why I leave alpha 0. If you ever have a 32 bit image, you can adapt this code easily.
    After you have the BufferedImage, you can simply write it as a JPEG file using ImageIO.write().

  • How to enter Text or Date Value?

    Hi, I am using Planning 9.3.1 and tried to enter text or date value into account
    which is defined as text or date, but I can only type numeric value into the cell.
    Is there anyone who knows the reason why I can't type in text or date?
    Thanks.
    Regards,
    Jerry

    You need to set the Evaluation Order to make this work. Once you tell Planning which dimension has priority (Account) the date format should work in a form. This is accessible through the Administration->Dimensions menu pick in the rightmost tab.
    Without that evaluation priority, the data just displays as a number.
    Once set, you must enter data in a format that mirrors your system locale or Planning application default/user preference. You will not be able to enter a whole number.
    Regards,
    Cameron Lackpour

  • How to find the CMYK, RGB values for an RasterItem in illustrator CS2 using Javascript??

    Hi,
    I want to find the color space of an raster item. I can able to get its color space using
    app.activeDocument.rasterItems[0].imageColorSpace
    if i found it o be CMYK color space, i need to find its value to know which color is present in the document.
    Thanks in advance,
    Poovili

    People have asked that before & I don't actually know. It seems pretty likely it's in the SDK somewhere though. I'd try searching the API folder for phrases that might relate to this and then investigate.

  • RGB values of Rectangle InDesign CS4 js

    Hi,
    I need to return RGB values of a Rectangle, but the fillColor gives me swatch ID only. How I can converted to RGB values.
         var myRGB = myFrame.fillColor;
         myRed = myRGB.id;
    Thank you for your help.
    Yulia

    This is want you want.
    var myRGB = myFrame.fillColor;
    myRed = myRGB.colorValue;
    alert (myRed)
    Shonky

  • Why is FrameMaker using different CYMK/RGB values for Pantone library colours compared with Illustrator?

    Evening all -
    this is by no means the first time I'm banged my head against the colour management brick wall, and I doubt it will be the last
    I am running Frame 12 and Illustrator CC on Windows 7.
    Both these Adobe products ship bundled with Pantone libraries. (Correct me with I'm wrong, but these "libraries" are basically a bunch of look-up tables, mapping named Pantone colours to various CYMK, RGB, etc equivalents?)
    Can anyone tell me why these two different Adobe applications appear to give different definitions for the same Pantone colours?
    For example, if I choose the Pantone Coated library > 'Warm Red'
    In Illustrator CC (left screenshot), it offers this as C0% M87.4% Y79.9% K0%
    in FrameMaker 12 (right screenshot), I get C0% M79%  Y91%  K0%
    Why are they different?
    Are the library definitions shipped with the products simply different?
    Frame's dialog ominously mentions "© Pantone, Inc., 1986, 1988"
    And if I go to C:\Program Files (x86)\Adobe\AdobeFrameMaker12\fminit\color and open the corresponding .bcf file in an editor, the header says:
    "BCF 2.0PANTONE¨ Coated 1.1 ©Pantone, Inc., 1986, 1988.PANTONE¨* Computer Video simulations displayed may not match PANTONE-identified solid color standards.  Use current PANTONE Color Reference Manuals for accurate color.  To order publications from Pantone, Inc., in the U.S. please call the toll-free number (800) 222-1149 [within NJ, call (201) 935-5500].  In other countries contact your local Pantone representative.  *Pantone, Inc.'s check-standard trademark for color.[1]"
    whereas if I go to C:\Program Files (x86)\Adobe\Adobe Illustrator CC\Presets\en_US\Swatches\Color Books and open the corresponding .acb swatch file in there, in amoungst the hex gibberish I note it says:
    "�=$$$/colorbook/PantonePlusCoated/title=PANTONE+^R Solid Coated/$$$/colorbook/PantonePlusCoated/prefix=PANTONE *$$$/colorbook/PantonePlusCoated/postfix= CK"$$$/colorbook/PantonePlusCoated/description=Copyright^C Pantone LLC, 2010"
    Have Pantone perhaps changed their colour definitions between 1988 and 2010?
    (I'm thinking it would be sensible to establish this one way or the other before we get into any convoluted discussions about the Windows GDI etc etc)

    David,
    What options did you use for defining the colours internally and what options for output in AI? I suspect that if you examine the EPS file you created from AI for the Panotne 355C, the only values in there are the CMYK ones - no LAB nor RGB. So FM has to use the algorithm mentioned in the other thread and creates the lime green based upon the algorithm. If you have set the AI drawing to an RGB color mode and set the EPS export option for "Include CMYK Postscript in RGB files" to OFF, then you would get the desired RGB values in the EPS file.
    If you're so intent on using Pantone Spot colours to get RGB, then you can create your own ACF library file with the exact RGB definitions that you want (you can then use whatever values you get in Photoshop, Illustrator or whatever source that you're trying to match). The structure of the file is as follows:
    ACF 1.0
    My Color Library             <----  name of library
    LibraryVersion: 1.0
    Copyright: © 2014 <your name here>. All rights reserved.
    AboutMessage: User defined Spot colours for RGB
    Names: Partial
    Rows: 4
    Columns: 4
    Entries: 1           <---- number of colours in file
    Prefix:         <---- used for display in FM, e.g. "Panotne"
    Suffix:           <----- used together with prefix, e.g. "CVC, CVU, etc."
    Type: Process <---- Spot, Process, Tint, Mixed (need to add specifier to Data lines)
    Models: CMYK RGB
    PreferredModel: RGB     <---- whatever you want
    Data:
    0.98 0.11 1.00 0.02              <---- CMYK values (0-1)
    0 38143 19967     <---- RGB values as 16-bit, i.e. 16-bit = ( [RGB value (1-255)]*256) + 255; zero is still zero
    Spruce Green                   <---- name of colour
    The acf file needs to be installed in the fminit\color folder.
    Also, a note of caution, If you screw something up in the acf file (like the incorrect number of entries in the file or you're missing a component value, this will hang FM if you use the View > Color > Definitions... option. You'll need to kill FM, fix or remove the ACF file and re-start. Also, FM only reads the libraries at the start, so if you need to make any changes to the ACF definitions, you have to r-start FM for those changes to take place.
    [I know, FM doesn't make it easy, but it can be done...]

  • How to enter customer budget in ECC customer master record.

    Dear all,
    How to enter customer potential sales values in customer master record - XD01.
    We are into retail sector having 10 different merchandise categories. our management want to enter customer potential sales for all 10 categories in customer master record itself.
    with the help of these potential sales field values we want to take a ALV report to compare sales against to potential sales for each category.
    Please suggest us to find out the right solution for this requirement. Your suggestions will be highly appreciated.
    Thank you
    Raghu ram.

    Thanks RAF,
    I noticed I needed to use the button addtional text as well in VD52, though this is limited to 72 characters and not unlimited. Now I'm facing the issue that the commercial invoice is not printing all characters defined in this field, so probably have the layout increase field length.
    Thanks for the help.
    If there is another solution to define a Customer specific materail description then mentioned above I would like to know.
    Regards Andy

  • How can I convert (or switch) the RGB percent values from the LR histogram into RGB values which are shown e. g. in PS/CameraRAW?

    In LR 5.5 (same in previous versions) the RGB values in the histogram are shown in percent (relativ) values. I prefere to see the absolute values, but I can`t find any way to switch. Maybe this option is intentional disabled, because LR works in 16-Bit mode this would result in values up to 2^16. But as i compared the relativ values from LR with the absolute values from PS i run into a conversion problem. The following example shows the differences:
    CameraRAW : RGB, 128,0,0
    Lightroom: RGB, 43,8%, 19,0%, 6,2%
    CameraRAW: RGB, 0,128,0
    Lightroom: RGB, 29,8%, 47,5%, 17,5%
    Mainly i have two questions:
    1. Is there any possibility to change the percent RGB values in LR to absolut values?
    2. How can i convert CameraRAW values to LR values (see above)?

    TThe reason that a design decision was made from the beginning of LR to show only the percentage values was that RGB values are dependent on the color space and the LR histogram and numerical readout are derived from the Develop module's display space which is a hybrid color space with ProPhoto RGB primaries and the sRGB TRC. Thus the numerical values in the display would be different from the exported RGB image (in an orthodox space) and it was feared that this would be misleading. When soft proofing was introduced, because it involved converting the display to an orthodox space, it became possible to use the 0-255 scale in that mode.

  • How to find the RGB Values of a Color for Hyperion

    When customizing your Hyperion forms, we come across situations where we need the exact RGB value of a given color. This article explains a simple technique to find the RGB values using MS Paint and the Calculator applications that come as standard applications with your operating system.
    Here are the steps to find the exact RGB value of a given color.
    1) View your Hyperion form using IE, scroll down until you see the color you want to find the RGB value and press the "Print Screen" button (in your keyboard).
    2) Open MS Paint and click Edit -> Paste or simply Ctrl+V. What you saw in the browser will be copied as a new untitled image.
    3) Select the Color Picker tool and click on an area that has the color you want to match.
    4) Now go to Edit Colors... option and click on the "Define Custom Colors >>" button. The color you picked will be selected on this palette. At the bottom right hand corner you will see the Red, Green and Blue values you need. Note down the R,G,B values (given in decimal).
    5) Now we need to find out the hexa-decimal values that correspond to those decimal values. This is where we use the simple Calculator. Open the Calculator application from Program -> Accessories. Switch to the scientific mode by clicking View ->Scientific.
    6) By default it will be in the decimal number mode. Enter the R value (238 in this example) and click on the Hex radio button. The corresponding hexa-decimal value (EE in this case) will be shown in the dial.
    The selected color in this case has the same value for R, G and B. (In fact, all shades of gray has the same values for R, G and B.) Therefore, the RGB value of the background color that we need is #eeeeee. Repeat step 6 to find out the hex value for the Green and Blue elements, if they are different.
    Tip:
    If you find it difficult to pick a color, zoom the image by pressing Ctrl+PageDown or using View -> Zoom -> Custom... option.

    These tips are to find the RGB color of HFM default row where row is text and text lines in data columns are also visible to business users as Yellow as an input cell. By applying the same RGB color you can apply the same color to your data cells or rows. This post shows how to identify color from any web view-able object.
    Regards,
    Manaf

  • How to get the RGB value of each pixel of a hole image?

    Hi,
    I'm trying the get the RGB(between 0 and 255) value of each pixel of a hole image. I writte this code:
    public void convertImage()
         int w = bufferedImage.getWidth();
         int h = bufferedImage.getHeight();
         int[] rgbs = new int[w*h];/* create a new array */
         bufferedImage.getRGB(0,0,w,h,rgbs,0,w);
         for(int i=0; i<10; i++)  
             System.out.println(rgbs);
    But the value rgbs[] contain an 8 bits integer, it's possible to have the RGB of this.
    In other case, do you have another sample of code to help me to get the RGB value of each pixel of a hole image?
    thanks.

    Hi, I am currently working on an application which requires the generation of color histograms that are a representation of a given image ie; myImage.jpg. I have made use of the JAI API and used it's Histogram class to generate a histogram vector for the image that I provide.
    However, upon closer inpsection, I have realised the following:-
    (1) The image, as it contains multiple colours is a multi-banded image ie; this means that each individual pixel in the image contains multiple colour samples (I assume) ie; Red, Blue Green. Due to this, a "separate list of bins represents each individual band". This means that for myImage.jpg, there is not ONE individual vector that contains data such as "400 pixels purple" "5000 pixels yellow" etc but there are indeed 3 vectors that represent the image.
    I have found this to be true using the getBinSize(int band, int bin) method call - the first parameter being 0,1,2 for Red Blue or Green.
    My basic (or complex) problem is that I basically want to generate 2 color histogram vectors that represent 2 separate images and then compare these vectors "side-by-side" using the vector comparison algorithms that I have already developed.
    Is there a way of using Java's Histogram class and it's associated methods to be able to store all colour information for an image in only ONE vector?? I am pretty certain that this is not possible, so my dilemma is now: - If I have an image and it is represented by three separate vectors/histograms, then how can I possibly compare these to say whether an image matches or not.
    When a pixel is analysed by a program, what seems to be the result returned is how that pixel is made up in terms of Red, Green or blue ie; a purple pixel is X blue, X red and X green and hence 3 vectos existing.
    Can anybody offer advice on how to achieve this task of looking at a pixel and simply determining it's actual color. I would preferably like to keep my code that I have already developed ie; the use of the Java Histoogram class but any other offerings are appreciated.

  • How to get RGB value from pixel of an image.

    hi, i need a little help... Is there any EASY way to get RGB value from point of an image? I searched javadoc but i only found very complex getRGB method working only with regions, and saving data into arrays.
    Is there any other way that can use for example image.getGraphics() (so, i mean to get RGB from point of Graphics object) ?
    Btw.: If you know, how Sprite.collidesWith(Sprite s, Boolean pixellevel) is working (with pixellevel = true), please write me. It could solve my problem too.
    Thanks

    Is there any other way that can use for example image.getGraphics() (so, i mean to get RGB from point of Graphics object) ?You can think of the graphics object like a pencil or paintbrush. Does a paintbrush know the color of the surface it is painting on? No.
    Btw.: If you know, how Sprite.collidesWith(Sprite s, Boolean pixellevel) is working (with pixellevel = true), please write me. It could solve my problem too.Download the reference implementation from this site and see for yourself.
    luck, db

  • How to enter the values in JTable in runtime

    how to enter the values in JTable in runtime

    Basically you need a vector of vectors or an array of arrays. Example (off the top of my head):
    With Arrays
    String[] cols = { "colone", "coltwo", "colthree", "colfour", "colfive" };
    String[] numbers = { "one", "two", "three", "four", "five" };
    String[] letters = { "A", "B", "C", "D", "E" };
    String[][] data = { numbers, letters };
    //make sure that the table has a scroll pane wrapped around it otherwise the header is not displayed
    JScrollPane scroll = new JScrollPane(new JTable(data, cols));
    With Vectors
    Vector cols = new Vector();
    cols.addElement("colone");
    cols.addElement("coltwo");
    cols.addElement("colthree");
    cols.addElement("colfour");
    cols.addElement("colfive");
    Vector numbers = new Vector();
    numbers.addElement("one");
    numbers.addElement("two");
    numbers.addElement("three");
    numbers.addElement("four");
    numbers.addElement("five");
    Vector letters = new Vector();
    numbers.addElement("A");
    numbers.addElement("B");
    numbers.addElement("C");
    numbers.addElement("E");
    numbers.addElement("F");
    Vector data = new Vector();
    data.addElement(numbers);
    data.addElement(letters);
    //make sure that the table has a scroll pane wrapped around it otherwise the header is not displayed
    JScrollPane scroll = new JScrollPane(new JTable(data, cols));The array or vector can be easily populated at runtime.
    Regards
    Riz

  • How to enter a floating value in a custom table.

    hello guys,
    I have created a custom table, the table has a field of type fltp(floating type) now when i create a maintanence genrator, this field is not displayed in the maintenance generator screen.
    Can any one suggest me what is the reason ? also how to enter the values in this scenario.
    Regards
    Abhinav

    When I Recreated your problem i got this message.
    Field ZTEST_FGLG-QTY can not be displayed on screen 0001
         Message no. SV617
    Diagnosis
         The field ZTEST_FGLG-QTY can not be offered for maintenance on the
         screen 0001, for technical reasons.
    System Response
         The generation continues, but the field ZTEST_FGLG-QTY does not appear
         on the screen 0001.
    From the message it is clear that it is not possible to show the field on screen.
    so you have to use either some Decimal Field or Qty field instead of FLTP field.

  • How to enter a value into datagrid cell in wpf through manually?

    Hi,
        Here my datagrid rows are in readonly mode here how can i enter the values in to the datagrid cell.(means how can i edit the cell value).i am adding the value to datagrid through programetically, I think  for this reason my datagrid rows
    are visible in readonly mode. Then how can i edit. Please guide me.
    Regards,
    Bhadram

    Hi Barry,
       Thank you for your reply, Now i sending my sample please check it once and suggest me.
    MainWindow.xaml.cs
    private void Save_Click(object sender, RoutedEventArgs e)
     List<CustomerMainViewModel> customer = new List<CustomerMainViewModel>(); customerviewmodel.NameTextField = tbName.Text;
    customerviewmodel.AddressTextField = tbAddress.Text;
    customerviewmodel.CountryField = countryddl.Text;
    customerviewmodel.StateField = stateddl.Text;
    customerviewmodel.Product = customerviewmodel.Product1 + "," + customerviewmodel.Product2;
    foreach(string str in customerviewmodel.actionCollection)
    customerviewmodel.ActionColl.Add(str);
    customerviewmodel.actionCollection.Clear();
    customer.Add(customerviewmodel);
    dataGrid1.Items.Add(customer);
    MessageBox.Show("Data Successfully Saved", " MessageBox", MessageBoxButton.OK, MessageBoxImage.Asterisk);
    clearValues();
    MainWindow.xaml
    <DataGrid
    Height="144"
    HorizontalAlignment="Left"
    Margin="79,447,0,0"
    Name="dataGrid1"
    VerticalAlignment="Top" CanUserAddRows="True"
    Width="399" Grid.RowSpan="2" IsReadOnly="False">
    <DataGrid.Columns>
    <DataGridTextColumn Header="NAME" Binding="{Binding NameTextField,Mode=TwoWay}" Width="Auto" IsReadOnly="False" />
    <DataGridTextColumn Header="ADDRESS" Binding="{Binding AddressTextField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTextColumn Header="GENDER" Binding="{Binding GenderField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTextColumn Header="COUNTRY" Binding="{Binding CountryField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTextColumn Header="STATE" Binding="{Binding StateField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTextColumn Header="PRODUCT" Binding="{Binding Product,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTemplateColumn Header="ACTION" MinWidth="140" IsReadOnly="False">
    <DataGridTemplateColumn.CellTemplate>
    <DataTemplate>
    <ComboBox x:Name="actionddl" ItemsSource="{Binding ActionColl}"/>
    </DataTemplate>
    </DataGridTemplateColumn.CellTemplate>
    </DataGridTemplateColumn>
    </DataGrid.Columns>
    </DataGrid>
    In the above "xaml" file i am using the attribute "Readonly="False"" but its not effected on my code still my datagrid is in readonly mode, i don't know why it happens. 
    And I am adding data to my datagrid through "Wpf controls (TextBox,CheckBox,ComboBox and etc...)"  while click on "save" button the data added to grid. adding to grid works properly but the entire row is in readonly mode. How can
    i solve my problem.  

Maybe you are looking for