Can't invert an image

Hello,
          I've been working on Java Advanced Imaging for a while to create FAX TIFF, but failed to invert the image's color (which was negative white-on-black) to positive.
          BufferedImage form_img;
          RenderedOp rop;
          ParameterBlock pb;
          pb = new ParameterBlock();
          pb.addSource(form_img);
          rop = JAI.create("invert",form_img);
          System.out.print("rop = " + rop + "\n\n"); // DEBUG
          System.out.print("pb = " + pb + "\n\n"); // DEBUG
          img_enc.encode(rop);The result:
rop = PlanarImage[minX=0 minY=0 width=0 height=0 tileGridXOffset=0 tileGridYOffs
et=0 tileWidth=0 tileHeight=0 sampleModel=null colorModel=null]
pb = java.awt.image.renderable.ParameterBlock@1b273ccAnd sure enough, it gives out an exception when trying to encode image.
Anyone know where I did wrong?
Thanks

Double check the settings for the camera.
For Windows 8: Start the Lenovo Settings program, originally Lenovo Settings can be found on the Start screen. Then click Camera. Follow the instructions on the screen to configure the camera settings as desired.
You may also find more information in the X230T User Guide.
Thank you for being a part of the Lenovo Family,
Catie
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Donate KUDOS and Click "Accepted Solution"

Similar Messages

  • Can negative B&W image be converted to positive, done this on elements previously by inverting but doesn't seem to work same way in lightroom ?

    Can negative B&W image be converted to positive, done this on elements previously by inverting but doesn't seem to work same way in lightroom ?

    You should be able to invert in Lightroom. But choose the point curve rather than the region curve. If the negative is film you might get better results from scanning.

  • Can you invert a mask in Keynote 09?

    I'm trying to figure out if you can invert a mask in Keynote Instead of the mask being the opaque area of the image, it would be the transparent area of the image. So, you'd have a hole in your image. Does anyone know if this is possible or if there is a workaround? I need to be able to do this inside of Keynote, a PNG with a hole will not work for my situation. Thanks for any input.

    So, I essentially drew a shape and overlapped it on itself to make a hollow area on the inside. I then used that as a mask, worked wonderfully. The whole reason for me doing this is to see if I can put this masked image on a master page, and then place video behind it on a slide with this masked/master. Problem is the video, when behind that masked image, will not give you the controls when rolled over in presentation mode. Keynote doesn't recognize your pointer is over a movie if the masked image sits above that movie. Therefore, you don't get the movie controls in presentation mode.

  • Can't open RAW images in Photoshop

    I purchased a new computer. It runs 64 bits. I have CS4. Since uploading it to my computer, I can not open RAW images. I have downloaded the most recent updates.
    I have been using the 32 bit photoshop because I could not get my NIK filters to work in 64 bit. But I can't open any of my RAW images.  I can't open them in either 32 or 64 bit.
    I have version 5.0.0.178 of Camera Raw.  I only know this because I can see it under "About filer.... Camera Raw".  I cant find any camera raw filters in adobe/plug-ins in either version of photoshop. I have a huge photoshoot tomorrow. I NEED to open RAW images.  HELP!!  Regular Support is down for the next few days.

    If you look at this list: http://kb2.adobe.com/cps/407/kb407111.html
    You will see you need Adobe Camera Raw 4.6 or later.
    As Chris says, update either maually from here: http://www.adobe.com/support/downloads/detail.jsp?ftpID=4681
    Or use the Updater from PS help.

  • Can not connect to Image Browser

    Can not connect to Image Browser. Try to open again but no results.

    Hi garyrandall,
    I'm sorry to hear of the difficulty you've encountered with the transfer of images from your Canon camera.
    Please reply with the Camera model you're using and the operating system on your computer.
    Please include any error messages you receive.
    We look forward to hearing from you!
    Richard
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • One more reason to put my iMAC at the curb. I can open and view Picasa photo links when I sign in via Google, but if I'm in Mail and click on the Picasa image link (my own or one someone esle sends me I can't view the images. Thye are all blank white squa

    One more reason to put my iMAC at the curb. I can open and view Picasa photo links when I sign in via Google, but if I'm in Mail and click on the Picasa image link (my own or one someone else sends me) I can't view the images. They are all blank white squares. This started a few weeks ago. Why can't I view Picasa link images through Mail?

    What you are experiencing is 100% related to Malware.
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Can I print a image larger than 4x6 directly from iPad's photo application to a HP Air Print printer without a additional app?

    Can I print a image larger than 4x6 directly from iPad's photo application to a HP Air Print printer without a additional app?

    jerryone1942 wrote:
    Can I print a image larger than 4x6 directly from iPad's photo application to a HP Air Print printer without a additional app?
    It depends upon the capabilities of your printer. If you have an HP printer with a photo tray then the Photo app will print to whatever size you load in to that tray.
    There's some more information here:
    Using AirPrint to Print Various Photo Sizes
    With other printers the user is given a choice from the printer's loaded paper sizes. You can see an example of that here:
    The Many Faces of the iOS Print Panel

  • After the new 10.9.2 Maverick upgrade, my Photosmart C4480 3 in 1 printer can not scan and save the file to desktop or documents.  You can only see the image in the print preview area. Does anyone know how to fix this or when a fix will be out?

    After Aple support downloaded the new 10.9.2 Maverick upgrade on my MacBook Air, my Photosmart C4480 3 in 1 printer can not scan a document and load the file on to my desktop or document file. (You can see the doc image in the preview but it doesn't save it.) Does anyone know an Apple fix for this or when the fix will be out?  After hours of trying reloading, and the usual fixes, etc. Apple told me to call HP, and HP told me they don't support Mac.  It does not seem honorable of Apple to put out an upgrade and not tell people it will destroy their scanning ability, and that the only thing to do is to buy another printer/scanner.

    Have you tried using Applications/Image Capture to scan.
    Vuescan often works.
    VueScan
    VueScan FAQ

  • How can you use one image and edit it three different ways to export later?

    I am a new Lightroom 3 user.  How can use the same image and edit it multiple ways to produce mulitple images to later export?  For example,  I have a picture of a bride and groom.  I want to use that image and create a color image, a black and white image, and a close up of their hands.

    Do I need to do either of those options before I start editing the image at all?  For example,  what if I am working on the image and doing some creative edits.  Then I think of another option that I could do.  Is it too late at that time or can I still get the original image to begin with?

  • How can i control what images load on my project to save preload time and avoid loading all images, elements, divs not yet visible?

    Sup buddies,
    How can I control what images load on my project to save preload time and avoid loading all images, elements, divs not yet visible?
    As the project grows in size the load time increases. How does one control not loading all images ,divs,elements etc. until they're
    needed on the timeline? For example some sections are off and only become visible when recalled. My projects slowly grow in size so loading
    all images , is counter productive . My other option would be to create separate htmls but that breaks the seamless user experience .
    TY...Over N Out... 

    hello, kiwi
    quote: "Is there an easy way to burn a completed project to DVD, but keep only the (lo res, lo size) previews on my hard drive?"
    yes.
    maybe,...
    1. you might think of making DVD backups first prior to importing the photos into Aperture. "Store Files: In their current location" once in Aperture make low rez Previews, and export finished Project.
    or,
    2. bring in the photographs to hard drive first prior to importing the photos into Aperture. "Store Files: In their current location" once in Aperture make low rez Previews, and export finished Project.
    the low rez Previews will stay in Aperture but the high quality Versions will be exported onto DVDs and gone from the hard drive (if you delete the originals).
    another way would be to export small about 50-70 pixel wide high quality jpegs to a folder on your Desktop and import & keep these in Aperture Library as a reference. make metadata to show where the original Project DVDs are stored and DVD filing system used.
    victor

  • How can I save the images to the iPhone anywhere

    Hello  I own Time capsule 3 tb. How can I save the images to the iPhone anywhere in Time capsule
    note i used fileexplorer when Outside the home isee Outside Message " error connection failed with the error operation time out "
    Thanks

    Most Simple Back Up:
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
    Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store
    If you want to back up the Photos only:
    Export them using the File -> Export command.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • When I try to same an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!

    When I try to save an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!
    == This happened ==
    Every time Firefox opened
    == I updated to one of the firefox versions (Not sure which one it was)

    Thanks Alex, but sadly I already tried that. Neither .docx or .xlsx files show up in the content list. They both show as a Chrome HTML document so changing how Firefox addresses those doesn't help since it thinks its the same type of file. I don't think I can manually add files into the "Content Type" left side nav.

  • How can I attach an image without the image is in the email body? (using the new mail the Lion)

    How can I attach an image without the image is in the email body? (using the new mail the Lion)
    I want in attachment, not in the body mail.

    I think your only solution is to zip the image files first and then attach them.
    Read this from a site I found:
    Sending Graphical Attachments -- When you attach a graphical image to your message, the recipient of your message sees the image inline (that is, in the body of the message) if her email client supports inline display. ("Take Control of Email with Apple Mail" contains a table listing the capabilities of popular Mac and PC email clients.) If a client does not support inline display (or the recipient has turned off the inline display option), the file appears as an attachment that must be opened in a separate program.
    On the one hand, an inline image is easier for the recipient to see - all she has to do is look at it. On the other hand, inline images can be frustrating to scroll through. If you do not wish to send a graphical image inline, you must compress the file before attaching it - Mail, sadly, lacks a built-in compression option, though fortunately for Panther users, the Finder offers Zip compression without requiring a separate application.
    Note that when you compose a new message, Mail always shows attachments in the body of your message. You can manually drag them somewhere else, but many email clients display all attachments in a separate list, regardless of where you place them in the message body.
    If you paste an image into a message or drag & drop an image from another window (say, a Web browser), Mail converts the raw image data to an attachment in TIFF format. On the other hand, if you drag & drop the icon of an image file (or use the Attach button to locate the file using the file browser), Mail leaves the attached image in its original format. This difference is significant, because although most email clients can display JPEG images just fine, support for TIFF - especially in non-Mac email clients - is less common. If possible, I suggest attaching image files as opposed to pasting or dragging in raw image data.

  • How can we get the image which is stored in clipboard by labview, is there any functions available like text from clip board

    How can we get the image which is stored in clipboard by labview, i can get the text in clipboard by using invoke node directly.but i cannot get the image, is there any functions or vi available.(image is in Png format)

    The Read from Clipboard method is, unfortunately, limited to text. If the clipboard contains an image then you need to use OS-specific functions calls. This is an example program for Windows. It's old, but it should still work.

  • 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.

Maybe you are looking for

  • How can I use itunes to back up two different iphones?

    First off, please pardon the newbie question. I am on a new Windows 8 machine (using the Classic Shell interface).  I downloaded and installed itunes 11.0.2.26.  I need to be able to backup both my and my fiancee's iphone (both are 4s), before doing

  • Reconfigure settings on a Blackberry 8310

    Hi - I inherited a blackberry from a relative and can use it for phone calls, texts, address book, etc.  I would like to reconfigure the setting for email and cannot find the steps to do that.  It is currently configured for Blackberry Enterprise, an

  • Exchange rate differences not posted in paralel currency

    Hi gurus, I have a difficult one. I have the followign situation: 1)     We are using CLP for Local Currency (pesos chilenos) 2)     We are using USD for Local 2 Currency (group) 3)             We have implemented the Material Ledger (USD currency) W

  • Print the form data instead of whole page

    Hello All, I am having a problem in my ADF/JSF page. I just want to print the form data of my form instead of the whole page.using javascript:print() method prints the whole page.so can you help me in solving this issue. I have JDev 10.1.3 and do not

  • Why the heck can't i get into my profile?

    my cookies are set. i even have apple.com and edgesuite as accepted sites. everytime i click on the itunes browser to login or do anything, it doesn't log in, the sign in screen just continues to pop up and i get nowhere. sometimes i'm told "unable t