How do I get a TYPE_BYTE_BINARY using blue/white instead of black/white

Im loading bi-tonal tiffs into a bufferedimage using imageio, plugin from jai. These bufferedimage come out as TYPE_BYTE_BINARY. The default for the two colors is black and white. I am trying to change it to blue and white without changeing the type. Anyone have any clues how to go about doing this?

image I used came out fuzzyIt is not color conversion issue. Solution is two fold:
(1) You should do proper pre-process on the original image before conversion.
(You might have to enhance the sharpness of the image.)
(2) You should do proper dithering on the resultant image after conversion.
(BufferedImage per se doesn't do dithering. ConvolveOp or LookupOp could be used, I have no experience on them though.)

Similar Messages

  • How can I get iPhoto to use external email instead of built-in email when sharing photos by email?

    I really dislike the fact that emails are now sent from within iPhoto rather than via launching the external email client. It is much less flexible. Is there a way I can set iPhoto to use my Mac mail instead of its built-in email?
    Thanks
    Elisabeth

    Yes. Iphoto menu -> Preferences -> General Pane:
    Email Photos using: and select Mail from the dropdown.
    Regards
    TD

  • How can i get rid of a blue screen background on my MacBook Pro

    how can i get rid of a blue screen background on my MacBook Pro

    Hi Heidi,
    Do tou mean it only boors to a blue screnn???
    If 10.7.0 or later...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    If that doesn't help Reinstall the OS.

  • How do I get rid of the blue box on my iCal on my iMac?

    When I add an event in iCal, using my iMac, it is highlighted within a blue box on my iMac.  When I add an event using my iPhone or iPad the blue box does not show up on my iMac. How do i get rid of the blue box on my iMac?

    To take a screen shot on your mac: http://www.apple.com/findouthow/mac/#capturescreen
    And then when you reply to a post you click the camera button at the top of the post window to attach an image.
    From your description it sounds like you are adding an event to iCal and it is syncing (which is what its supposed to do).  If you see something in iCal on the Mac and you don't want it there, click on it once and then go to Edit > Delete.
    If you still can't delete that event:
    1. First make an iCal backup:  Click on each calendar on the left hand side of iCal one at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    2. Go to iCal > Quit iCal
    3. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    --- NOTE: To get to "Home > Library" in Lion: Click anywhere on the desktop and then click on the "Go" menu at the top of the computer screen while holding down the "option" key on the keyboard.  You will see "Library" in the menu.
    4. Launch iCal and test.
    If the issue persists:
    1. Go to iCal > Quit iCal
    2. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    Home > Library > Preferences > com.apple.ical (There may be more than one of these. Remove them all.)
    --- NOTE: Removing these files may remove any shared (CalDAV) calendars you may have access to. You will have to re-add those calendars to iCal > Preferences > Accounts.
    3. Launch iCal and test.

  • How can I get computer to use external DVD drive?I have a HP dvd640 plug in play drive I want to ude but my iMac dosen't see it as connected.

    How can I get *computer* to use external DVD drive? (1.8 GHz PowerPC G5 Version 10.3.9)

    Place cd/dvd in drive.  cd/dvd icon will show on desktop.
    How can I get computer to use external DVD drive?I have a HP dvd640 plug in play drive I want to ude but my iMac dosen't see it as connected.
    What is ude?
    How is it connected?  firewire or usb?
    When connected it should appear in system profiler.
    blue apple > about this mac > more info button. Click on the hardware line. It has a little triangle in front of the work hardware.
    look for firewire or usb.
    Robert

  • I have a MacBook Pro and just added an airport express to listen to my iTunes on my stereo. How do I get Firefox to use my AX when I use Grooveshark or Pandora?

    i have a MacBook Pro and just added an airport express to listen to my iTunes on my stereo. How do I get Firefox to use my AX when I use Grooveshark or Pandora?

    If the purchases are all from the same account then you can share the content by authorizing each device.
    If you have separate accounts then you have to be authorized to use the content purchased from another account.
    MJ

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • How do I get imovie to use Photoshop Elements 12 as external editor?

    How do I get imovie to use Photoshop Elements 12 as external editor? I am making a movie slide show with music from my Caribbean vacation photos and adding text captions to photos in PS Elements 12. I can also add some effects to photos like edge blur although I like iphotos effects better but iphoto doesn't seem to do text. The finished PS Elements photo doesn't seem to want to be shared by iphoto which is what imovie uses...
    I am still learning to use PS Elements 12 for Mac (had PSE 7 for WinVista but wasn't proficient) and Mac and it's programs are new to me. I switch between my old Dell which is still amped for graphics and the new Mac mini. I started to use Movie Maker to do my vacation project but read that imovie was better but so far it doesn't seem to have as broad of file useage when it comes to imovie and photo files.
    Hmmmmm??? What to do?

    You simply need to create your stills with Photoshop Elements, save them in a suitable format (.jpg, .png, .tiff are all acceptable) then drag and drop them into your iMovie timeline.  You don't have to use iPhoto.
    Geoff.

  • In Mail, how do I get rid of the blue&white button that appears extreme right of Mail addressing pane (To)? What's its function?

    In Mail, how do I get rid of the blue&white button that appears extreme right of the addressing pane (To)? What's its function?

    malmaloney wrote:
    Thanks Meg. Trouble is it disrupts emails addresses being keyed in - that is, not from the Contacts book...
    How so?  You trying to type over it? If you keep typing the addresses drop below to next line.  I have tried and tried to make it disrupt anything without success.

  • How can I get rid of the blue border in Spry collapsible menu

    How can I get rid of the blue border that displays in Safari when I click on the Spry collapsible menu?  Also want to get rid of dotted border that displays in Firefox.  Any suggestions?  Thanks.

    Please take a look here http://webaim.org/blog/plague-of-outline-0/
    If, after reading the above, you still want the outline removed the add the following style rule to your document.
    ul.MenuBarHorizontal a {
        outline: none;

  • TS1292 How do I get iTunes to use my credits?

    I've entered my gift card and received my credits, but iTunes is only charging my credit card. How do I get it to use my credits?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I've extended java.lang.Thread.  How do I get WebLogic to use my version?

    I want to add a String attribute to the thread class to save some extra info I need. I extended the Thread class with a private String with getter/setter methods.
    Since WebLogic instantiates the threads and not my own code, how do I get WebLogic to use my version of Thread instead of the one from java.lang?
    -Bill

    I don't think it's possible to have WLS use your own thread implementation for WLS internals. However, for your own custom work, it's pretty straight-forward to use the CommonJ Work Manager API and add your own implementation details for a thread pool.
    See documentation: http://download.oracle.com/docs/cd/E12839_01/web.1111/e13701/self_tuned.htm#i1069944
    WorkManager Javadocs: http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e13941/index.html?commonj/work/WorkManager.html
    Specifically providing your own Work interface implementation should hopefully allow you to meet your need.
    Edited by: james.bayer on Feb 15, 2010 6:40 AM

  • How do I get iCloud to use my existing @me MobileMe account

    I already have a MobileMe  '@me' e-mail adress, how can I get iCloud to use this e-mail address, when I try to activate ICloud e-mail,  it's forcing me to create another @me e-mail account. I want to use the one I have.

    Fixed it.
    Forgot about iCloud.com, so just went there and deleted everything.

  • Have tried to restore settings due to problems, now Iphone shows Sim Failure, how can I get back to using my phone? Please help, its a business phone. :(

    Hi, I have tried to restore settings on my Iphone due to problems I was having with the phone cutting out when talking on the phone, now Iphone shows Sim Failure, how can I get back to using my phone? Please help, its a business phone.

    Hi jclarke64, 
    Thank you for contributing to the Apple Support Communities. 
    I'm sorry to hear that your iPhone 4s was lost, and glad that you were able to upgrade. 
    If your iPhone 4s was backed up to iCloud or using iTunes, you can restore the backed up data to your new phone. 
    See the steps in this article for help with restoring from a backup:
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
    All the best,
    Jeremy 

  • I'm wondering about using Apple loops in music. Is it ok to do so to make music for people to hear, without it being sold. And how do you get permission to use them in music to sell?

    I'm wondering about using Apple loops in music. Is it ok to do so to make music for people to hear,like on soundcloud or other websites, without it being sold. And how do you get permission to use them in music to sell?

    From the LOGIC STUDIO SOFTWARE LICENSE AGREEMENT   :
    C. Except as otherwise indicated, you may use the Apple and third party audio file content (including, but not limited to, the Apple Loops, built-insound files, samples and impulse responses) (collectively the “Audio Content”), contained in or otherwise included with the Apple Software, on aroyalty-free basis, to create your own original soundtracks for your film, video and audio projects. You may broadcast and/or distribute your ownsoundtracks that were created using the Audio Content, however, individual Apple loops, audio files, sound settings, samples and impulse responsesmay not be commercially or otherwise distributed on a standalone basis, nor may they be repackaged in whole or in part as audio samples, soundfiles, sound effects or music beds.
    This means, you can use all Apple Loops in your music, they're royality-free.
    Best,
    DaCaptain

Maybe you are looking for

  • Sometimes whe i open a new page Firefox shows me strange small squares with noise like a TV. When a move the scrobar they disappear.

    The browser sometimes show strange squares with like appears to be "TV noise" [http://imageshack.us/photo/my-images/259/image000l.png/ Image of one of the squares]

  • How to debug workflow

    hi Experts, I am using wcc11.1.1.7, I know there is a way for debugging service as adding a parameter of &IsPageDebug=1 in url, debug menu will show on the right down of IE, the question is for js log, how to produce js log? is it a log4javascript or

  • Problem Refreshing Report Region

    I have a Report Region, based on a SQL Query. It works fine, and returns the records Queried. My problem, is that it is not Refreshing, after page Refresh. I even tried Logiing out, and then back in. In my latest attempt, I deleted ALL the records, l

  • Help ipods frozen

    i was trying to upload some songs from itunes onto my ipod. on the ipod screen it came up with the do not disconnect image but nothing happened in itunes. stupidly i disconnected the ipod and now it is frozen...any advice???

  • Can any 3rd party router piggyback to the black sky hub?

    Hi all were having the sky fibre unlimited installed next week and today we have received the new Sky hub SR102 the black one in order to use the fibre optic from next week.  I have heard some bad and good reviews about this hub but one common concer