URGENT - how do I convert and image from colour to black and white?

Hi,
I'm new to Java, and I really need some code to convert an image from colour to black and white! I would really appreciate any help, but since I don't know much about Java I would prefer some code or links to websites with the code.
Thanks!!!

http://forum.java.sun.com/thread.jsp?forum=5&thread=368759

Similar Messages

  • HT5182 How can I convert Raw images from iphoto to jpg for the web?

    I have some pictures in Raw mode stored in my Iphoto that I need to convert in JPG for the web and to print in business cards, I have been going around e-mailing the pictures to myself in large or medium size and then saving them again to my iphoto. Is there a way to do this from iphoto directly?

    iMac (24-inch Early 2009), iOS 6
    Are your pictures on your iMac or on an IOS device?
    On your iMac use "File > Export " set the jpeg quality and size you want:
    Regards
    Léonie
    Sorry, Ralph, I see, we have been cross posting

  • I am downloading from a Canon 650D to Photoshop CS5.1 AND Adobe Bridge CS5.1  do i need to download a  DNG convertor? if so how do i get the images from the camera to the convertor?

    I am downloading from a Canon 650d  TO Photoshop CS5.1  and Adobe Bridge CS5.1  Do i need to download a DNG convertor? if so how do i get the images from the camera to the convertor?

    Please check the list yourself and co,mare the necessary CR version with the one your version of Photoshop utilizes. 
    If the version os higher than yours you can use the free DNG Converter – as to how to use it please read up on that.
    Camera Raw plug-in | Supported cameras

  • How do I get an image from Picasa and transfer it to photoshop to work on it.?

    how do I obtain an image from picasa and bring it to ps to work on it?

    Are you using a Windows system, and do you have File Explore set to show extensions?  I am wondering if the file name might look like:
    'Starbirds Picture.jpg.tiff'  ?
    The fact that you say the image looks different after reducing its bit depth makes me think you are right about it being 32 bit, but as Chris said, it can't be a JPG.
    Your computer monitor is not capable of displaying the full tonal range of a 32bit image produced by an HDR program like Photomatix or Photoshop, so it has to make compromises.  You have to chose what process to use to reduce its bit depth to give it the look you are after.  I prefer Photomatix for HDR.  If you install a trial version and open your 32 bit image in it, you can then chose one of the options to convert it to 16 or 8 bit.  These might be Tone Mapping, Exposure Fusion, or Tone Compression.   Tone Mapping is the option that produces the typical HDR look.
    But you are using Photoshop.  I haven't noticed what version you are using, but Google Photoshop (your version) HDR processing, and you'll see how to control the end look of the image.

  • How do I convert raw images with side car to Dng and

    How do I convert raw images with side car to Dng and preserve the sidecar info in the DNG?
    I have tons of raws + xmp sidecars that i want to convert to dng, because the raws are from different camera brands and i want to get everything simplified. so that i do not have to worry if I will be able to access the raws in the future, if I decide I want to rework some of the files.
    T.I.A.

    If the images are already in your catalog you can select them then choose Convert Photos to DNG from the Library menu. You'll be given the option of deleting the original raw files. Either way, Lr will only display the newly created DNG files.
    The alternative, which is better suited to images not already in the catalog is to use the Adobe DNG Converter

  • In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone.

    In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone which are downloaded and not saved,but they remain in cache.
    Even in some apps i have data which i want to remove,but cant find a way to remove them and they are in my cache eating up my memory.

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • How do I open RAW images from DSC_RX100M3?  I downloaded Adobe DNG converter 8.4, but could not convert the images?

    How do I open RAW images from DSC_RX100M3?  I downloaded Adobe DNG converter 8.4, but could not convert the images?

    Small correction to what SSprengel wrote...
    The RX100M3 is supported only by version 8.5.  It sounds like you need a newer version.
    Photoshop Help | Digital Negative (DNG)
    -Noel

  • How do i convert an image object to a byte array ?

    Hi
    how do i convert an image object into a byte array
    early reply apperciated

    Oh sorry my method and the other method need to have the pixels from the Image passed to them which you get my using pixelgrabber:
    //create width and height variables from image
              int w = img.getWidth(this);
              int h = img.getHeight(this);
              //retrive picture from image
              int[] pix = new int[w * h];
              PixelGrabber pg = new PixelGrabber(img, 0, 0, w, h, pix, 0, w);
              try{ pg.grabPixels();
              } catch (InterruptedException ioe) {
                   System.err.println("Interrupted");
              if ((pg.getStatus() & ImageObserver.ABORT) != 0) {
              System.err.println("image fetch aborted or errored");
              }

  • How can I convert an image created in Photoshop into a format that Java's ImageIO library will take?

    Hi all,
    I've been trying to write an image resize tool to use the Lancoz resample algorithm to resize images to a high standard in Java.  The library with the algorithm/filter in it is mortennobel's image scaling library and it takes a buffered image as an input and returns the resized image as desired.  However the trouble I’m having is that the ImageIO library in Java, a standard library, which converts images given to its read method to buffered images doesn't accept certain images created in Photoshop and so it throws an exception.  My library needs to be fully automated to process possible thousands of images at a time and so manually converting them by resaving them as JPEG's is really feasibly.  Is there some way I can convert these images from Adobes Exif format to standard JFIF format?  I've tried simple inserting the APP0 marker from a JFIF image in-between the SOI and APP1 marker but the ImageIO library still failed.
    The above image is a screenshot of the binary in hex of one of the images that cause an Invalid Format exception when passed to ImageIO.
    Any help you could offer me with this would be much appreciated.
    Kind regards and thank you,
    Alexei Blue
    Science Warehouse.
    NB: I previously posted this post in Developers but was told to post it in a Photoshop forum so apologies if this is the incorrect formum

    The image scaling library does have a BiCubicFilter in it so I'll experiment around with them and see what happens.  As for the imageIO library I think it accepts Exif image types, but still for some reason it just doesn't like Adobe Photoshop types.  Maybe its the colour map it doesn't like I just can't seem to work out what's wrong which is slightly frustrating but looking round to see if I can find an answer

  • How can I convert an Image ( or BufferedImage ) to Base64 format ?

    Hi folks...
    How can I convert an Image, or BufferedImage, to the Base64 format ?
    The image that I want to convert, I get from the webCam connected to the computer...
    Anyone can help me ?
    Rodrigo Kerkhoff

    I suggest you read this thread concerning this:
    http://forum.java.sun.com/thread.jspa?forumID=31&threadID=477461
    Failing that, Google is your friend.
    Good luck!

  • How can i convert the data from mutiple-table to the other database(MSSQL)?

    Dears,
    How can i convert the data from mutiple-table to the other database such as MS-SQL?
    I have a third party system based on MS-SQL 2000.
    Now we want to make a integration between SAP R/3(Oracle) and SQL server.
    When my user releases the purchase order in R/3, the application we coded will convert the releated data to the temp database on the SQL server.
    But i don't know which tools will help me reach the purpose.  BAPI, LSMW, IDoc... ???
    Would anybody tell me which way is better and how to do?
    Thanks a lot!
    Kevin Wang

    Hello Kevin,
    The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier.

  • How can I get an image from the screen? Like screen printer in PC to pasting after in word or other program.

    How can I get an image from the screen? Like screen printer in PC to pasting after in word or other program.

    If you do Cmd+Shift+3 you'll get a full screen image saved to your desktop as a jpg file.
    Also, you can use Cmd+Shift+4 and you'll get a cursor which you click+drag to draw a box. When you release the drag the boxed in area will be saved to the Desktop as a jpg file.

  • How can I manually attach images from my photo booth (imported into iPhoto) to emails? Auto function, in photo booth has my photos lying sideways?

    How can I manually attach images from my photo booth to iCloud emails?
    They are imported as 'events' into my iphoto library.
    Auto function, in photo booth has my photos lying sideways when placed in 'mail' emails?

    There are many, many ways to access your files in iPhoto:   You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.  If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto not running:
    For users of 10.6 and later:  You can download a free Services component from MacOSXAutomation  which will give you access to the iPhoto Library from your Services Menu.
    Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and 10.5 Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    Show File:  a. On iPhoto 09 and earlier:  Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.    3.b.
    b: On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected.

  • How do I convert my document from PDF to Word?

    How do I convert my document from PDF to Word?

    With a paid subscription to one of our PDF services you can convert from PDF to Word - https://files.acrobat.com/ for additional inforation and options 

  • How to revert the maintainence image from 2.1(5) to 2.1(3) on NAM2 Module.

    Hi,
    Could some one please help me with the procedure or document on how to revert the maintainence image from 2.1(5) to 2.1(3) on NAM2 Module/
    As I am trying to upgrade the 4.0 software version on the nam.
    Thanks in advance.
    Regards
    Alex.

    I follwed this note only (Deploying Sun JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite 11i [ID 290807.1]) to upgrade my Jre -1.6.0_23 version .Use the same steps to downgrade to 1.6.0_20 (i.e. download the correct plug-in, issue "txkSetPlugin.sh jversion" with the desired version, ..etc).
    I given it to application team for testing they come back with some issues telling that some application and users unable to access so requesting to downgrade the JRE to 1.6.0_20 version.What issues? Have you considered upgrading to 1.6.0_24?
    Mismanaged Session Cookie Issue Fixed for EBS in JRE 1.6.0_23
    http://blogs.oracle.com/stevenChan/2010/12/mismanaged_session_cookie_issue_fixed_ebs.html
    Is it possible to downgrade ? Try the above, or restore from a backup (if you have one) which is taken before upgrading to 1.6.0_23
    Thanks,
    Hussein

Maybe you are looking for

  • NVIDIA Issues; hitting the video card hangs the machine

    Hello everybody, this could easily be placed under the Kernel and Hardware forum, but this one suits my experience level better.  I tried searching for some similar issues to what I am having, but wasn't able to come up with anything. (Perhaps I was

  • Bind Variables with AND in String causing Issues in XML & Report Outputs

    Hi all, I'm creating a BI Publisher report (10.1.3.2) and am experiencing an issue with the interprutation of Bind Variables in the Data Template. Here is an example of some of the Data template <dataTemplate name="BudgetDataBU" description="BudgetDa

  • Custom Control Hourglass

    I want to have Hourglass shaped custom indicator, so that if we give numeric values from 0 to 100, the (sand or water) should fall from top to bottom of glass. waiting for your kind help. Thanks. Attachments: hourglass-hi.png ‏44 KB

  • 2 table rows - one "Add Row" button

    I am a novice, not alot of training with javascript. I need 2 table rows added to a table without having multiple "add row" buttons. I would like to be able to add both rows with one button. right now the button is set for the most current row: Table

  • SSD for Media Cache and Preview files ...bad idea?

    Hi guys! Today I killed my 3rd SSD.I used both of them for store Media cache and preview files with Premiere Pro and After Effects CS5.5. 1st was OCZ Vertex 3 240GB than I replaced to a new one.After few weeks later the 2nd OCZ Vertex 3 dead. And now