How can I reduce the color depth in JAI ?

Can anybody help me ?
Using the JAI in image converting I have faced with some trouble that I wasn't able to solve.
I need to dither 8-bit or 24-bit color images to 1-bit image (monochrome) and store it as WBMP or PNG stream. It's important: the depth of color in result stream MUST be 1 bit exactly.
With assistance of standard examples I have made the dithering but I don't know how to store it with nesessary depth of color. Using operation "encode" stores it as monochrome bitmap but number of colors (for checking I have used ACDSee) is 256.
Thank you.

Hi.
I'm just in the same trouble encoding as mono-BMP.
For few days, I've tried encoding as 1-bit BMP, but it ends with 8-bit BMP.
"ColorConvert" operation may resolve this problem, I think.

Similar Messages

  • How can I reduce the brightness of my screen?

    I installed WIndows 7 on my MAC and after installing the boot camp drivers, the screen went really bright.
    I reduced the brightness to the lowest setting on my keyboard, but it is still bright.
    The problem is not so much on the graphics, its more on the brightness of the white background & black text.
    How can I reduce the brightness?

    ang188 wrote:
    I reduced the brightness to the lowest setting on my keyboard, but it is still bright.
    The problem is not so much on the graphics, its more on the brightness of the white background & black text.
    How can I reduce the brightness?
    Start menu > control panel > appearance & personalization > display > calibrate color
    I would adjust the keyboard setting back to midway before calibrating, this way you have some flexibility to use that again.

  • I have an imac 27 inch O SX 10.6.8. using iphoto 11 Version 9.1.5. I have scanned some photos at very high resolution with each photo being about 45MB. They're saved to desktop. How can I reduce the size of the scanned photo's they are crashing iphoto

    I have an imac 27 inch O SX 10.6.8. using iphoto 11 Version 9.1.5. I have scanned some photos at very high resolution with each photo being about 45MB. They're saved to desktop. How can I reduce the size of the scanned photo's they are crashing iphoto.

    What format are they? Tiif? Jpeg? You can compress them with a lot of apps - including Preivew and just about any graphics editor out there. I'm not sure that 45mb would crash iPhoto thogh, are yo sure that's the cause? I know that some folks have mentioned pixel dimensions causing issues, as can color profiles.
    Regards
    TD

  • How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)

    Hello,
    Here is the problematic:
    1° How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)
    - I've many button in a doc im creating
    - the color of the buttons is white with black stoke & black text
    - in roll over state i want them to inverse the color coding (the text white & bottom black)
    - currently the text becomes invisible as black on black cant be seen (ive stroked it white but that looks ugly)
    - i would just like to know if there is a function made for this?
    My other questions:
    2° Ive a presentation on which Ive created buttons which tigger pop-up animations
    - i have 5 buttons which trigger animations
    - the viewer can chose to Click on any of the buttons randomly
    - the problem is once the animation is open how can it be close... either:
    a) by it self after "40" seconds
    b) when ther viewer clicks another button
    3° Ive created buttons linking pages..
    - "go to page xxx"
    - when i do a preview and click on the buttons the links dont take me to the right pages
    - is that normal? (maybe in preview its suppose to be like that)
    4° I would like to intergrate YouTube videos in the presentation so they play inside the docment.. when i tried.. it said the 'link isnt a flash video'
    - what should i do?
    5° Once i export it into Swf. how how can i visualize it? or put it online?
    Thank you for your time.

    stlbbl4u wrote:
    Hello,
    Here is the problematic:
    1° How can i change the color of the text on a button in Roll Over or Click state (Cs5.5)
    - I've many button in a doc im creating
    - the color of the buttons is white with black stoke & black text
    - in roll over state i want them to inverse the color coding (the text white & bottom black)
    - currently the text becomes invisible as black on black cant be seen (ive stroked it white but that looks ugly)
    - i would just like to know if there is a function made for this?
    You should setup Object Styles - these can also include Paragarph Styles that can be triggered when the Style is selected.
    http://help.adobe.com/en_US/indesign/cs/using/WS5CEDB81A-0011-4dc9-9DE8-AC7AD4C80076a.html
    My other questions:
    2° Ive a presentation on which Ive created buttons which tigger pop-up animations
    - i have 5 buttons which trigger animations
    - the viewer can chose to Click on any of the buttons randomly
    - the problem is once the animation is open how can it be close... either:
    a) by it self after "40" seconds
    b) when ther viewer clicks another button
    I'm not sure what you mean - I don't do files with Animations
    3° Ive created buttons linking pages..- "go to page xxx"
    - when i do a preview and click on the buttons the links dont take me to the right pages
    - is that normal? (maybe in preview its suppose to be like that)
    Does it work properly when you export it to the finished file?
    4° I would like to intergrate YouTube videos in the presentation so they play inside the docment.. when i tried.. it said the 'link isnt a flash video'- what should i do?
    InDesign won't link directly to youtube videos. I think your best bet would be to use Downloader to download the video and embed them directly in Indesign.
    5° Once i export it into Swf. how how can i visualize it? or put it online? 
    Thank you for your time.
    You can look up how to embed a SWF file into your HTML - but it depends what you mean by "online" there's a dozen ways to get a file "online".

  • In working on a simple home budget,  how can I change the color of a negative number to red,  during the period the number is negative.    Thanks,

    Using Numbers spreadsheet and In working on a simple home budget,  how can I change the color of a number to RED when it  comes up negative.  (only during the time that it's negative)  Thanks,  ( I hope I did this right!!) 

    The Inspector offers choices of format for negative numbers when you choose Number of Currency as the format for a cell. Also offered when the format is set to Automatic, IF the selected cell(s) contain number(s).
    The choices are in the pop-up menu beside the box for number of decimal places.
    Regards,
    Barry

  • How can I change the color of birthday calendar?

    The birthday calendar in the new iPhone OS gets it color automatically. How can I change the color? It does not correspond to the color in iCal on my Mac.

    I figured out a solution for changing the other calendars but not the birthday calendar. Although it's not the most direct fix, it worked for me. Apparently Apple didn't think to give us the ability to choose the calendar color. I use Entourage and sync over the air. When I upgraded to iOS 4 my calendar turned bright red and the birthday calendar was blue. I don't use the birthday calendar so it isn't even enabled in my case. What finally worked was to go through the calendar colors one at a time by disabling and re-enabling the calendar in my mail account settings. I would double click the home button to quickly switch between settings and calendar to check the color each time I enabled the calendar. I had to do this 4 or 5 times to cycle through until blue came back up.

  • How can I change the color of a box in book layout?

    I am try to change the color of a photo box when making a book.
    Will the box print? and if so how can I change the color
    Thank you
    Mark

    The box will print... but there is no way to just assign a color to a box. The closest you can get is ot create a small solid colored image in Photoshop and assign that to the box. You may get a resolution warning but as long as it's a solid color it does not matter how few pixels you have.

  • How can i change the color of the graph in agreement of the program's condition

    Hi,
    I am using labview 5.1 in my graduation's project final. (sorry by my english, but i am ina hurry)
    How can i change the color of the graph in agreement of the program's condition?
    I am developing a VI to control the temperature of termistors,but i have another sensor too.
    In a graph i have the situation of the termistors,but i want to change the color of the graph when the sensor is active.
    Thanks a lot
    Rafael Wajnsztajn - Brasil

    To change the color of the line itself, you can use the attribute Plot>>Plot Color.
    To change the color of the points, you can use the attribute Cursor>>Cursor Color.
    To select the color, you should have a color box constant inside the Numeric>>Additional Numeric Constants palette.
    This is all in LV 7.0. I'm not sure how it similar it is in 5.1.
    One important thing is to place the attribute node inside a case structure which will execute only when your condition has been filled.
    If this didn't help you, I suggest you post the relevant piece of code, or at least an image of it (no BMPs, please).
    Try to take over the world!

  • How can I change the color of the Integration Builder?

    Watch this blog: /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    While reading this blog I notice that the IB is of a different color. I would like to use this feature to differ my systems by color. How can I change the color of the IB?

    hi,
    you can always try <b>the Felix's way</b> )
    /people/sap.user72/blog/2005/12/11/how-to-apply-themes-in-exchange-infrastructure
    is that what you need?
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How can i change the color of the text bubble and change my name instead of having verizion at the top

    how can i change the color of my background on my texting and the bobbles and instead of having verizon at the top i was told i could have my last name

    You cannot.  Customizations such as those are not available in iOS.

  • HOw can i change the color of a cell

    How can I change the color of a cell when it is selected. I select the cell by pressing enter, then I want the text in the cell to change color to red, but all the cells in the table change color. Please I would be grateful for some help

    Subclass DefaultTableCellRenderer.
    public class MyCellRenderer extends DefaultTableCellRenderer
    Override
    public Componet getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
    JLabel lab = new JLabel(String)value);
    lab.setOpaque(true);
    return lab;
    if(isSelected)
    lab.setBackground(Color.red);
    else
    lab.setBackground(Color.white);
    Set the columns in your table:
    table.getCoulumModel.getColumn(0).setCellRenderer(new myCellRenderer());
    table.getCoulumModel.getColumn(1).setCellRenderer(new myCellRenderer());
    etc. for each column in your table.

  • How can I change the color in this "pieces"

    Hello guys, I'm new in the forum and I'm searching for help.
    I'm using a free template that I downloaded from
    the internet but I'm having a small problem.
    When I put the logo that I want use in the template, the color is not the original one,
    after some minutes trying to discover how I could change it to the original version of the logo, I found an option on "fill" with a color that I could change..
    the problem is that when I change the color, all the logo changes in the same time, so I created 2 logos.. one of then only with the dark color and the other with the red color
    so with this method I could change both colors on this "fill" option and all would be okai.
    the problem is that both of the logos are changing in the same time.
    I need to change the X to RED and the Moto to Black
    Another problem that I have is : the little pieces of the logo that come all togheter, they are all black.. and i need to change it to the right color.
    cause the text are in one color and the pieces are all black.

    I did it, but i saw that Fill effect is a little "Shadow" behing the text... just for a small white line... I'm almost done with this intro, now I'm trying to find out how can I change the color from the X and MOTO
    cause when I change the color, both changes, and this can't happen.
    I need the X red and the Moto dark...
    I made 2 compositions ... one with just the X  X red.. and another with just Moto in dark color... but I don't know how to put this 2 compositions in 1 composition.

  • How can I change the color of all folders from light blue to another color?

    My computer was just upgraded from Tiger to Leopard, and now all the file folder icons are pale blue on the desktop and elsewhere. My desktop is green and those light blue folders do not look good on a green background.
    How can I change the color of the folder icons to another color?

    Hi ys,
    You appear to have taken a wrong turn on the information highway and would up in the backwater known as the AppleWorks forum. This is a place for discussion of issues and techniques connected with the now discontinued Apple productivity application AppleWorks.
    Yours is a System question, concerned with how to accomplish something in the Finder, part of the Mac OS X software you recently upgraded. The question will be better served in the Mac OS X v10.5 Leopard section of discussions. The link will take you to that section, where I'd suggest using the Finder and Dock forum.
    Regards,
    Barry

  • How can I use the color adjustments interface that shows up for camera RAW on jpeg files?

    How can I use the color adjustments interface that shows up for camera raw on other files types? The HLS controls had the secondary color adjustments (6 colors instead of the 3). Plus, it had same vibrancy and a better Curves interface. Yesterday was the first time I imported raw into Photoshop CS5 and I got that really cool interface. What is that? Can I use that on other file formats?

    Actually I am using the Tradional Chinese Version, when I try to edit the jpg file with camera raw, the system shows that there is no camera raw plug-in. The cmaera raw never work.

  • How can I change the colors of a photo?

    How can I change the colors in a photo?

    No. You'd need an external editor for that kind of stuff:
    In order of price here are some suggestions:
    Seashore (free)
    The Gimp (free)
    Graphic Coverter ($45 approx)
    Acorn ($50 approx)
    Pixelmator ($50 approx)
    Photoshop Elements ($75 approx)
    There are many, many other options. Search on MacUpdate or the App Store.
    You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
    Of course, you may not want to change the shape of a photo which would distort it. You may want to print it in an oval shape but undistorted. I'd use a page layout app like Pages for that,

Maybe you are looking for