Color Changed when reading a Tiff Image

I have created a ImageIcon of a tiff image by using the following code. but when reading some images the color is Mis-Matching
BufferedImage bufImage = ImageIO.read( <tiff file path> );
JLabel jLabel= new JLabel(new ImageIcon(bufImage));whats the reason for this?.. anybody send me the code snippet to read the tiff image in its original color.. please..

Thanks for the reply.
When I render a tiff format image, I have a choice to either render with a alpha or not. I pick with alpha.
In CS2 Photoshop when I would open that tiff file, my image would come up and I would be able to see the whole image I rendered. The alpha would be in the channel tab where I would make active and apply to my image if I wanted to.
Now in CS5 when I open that same tiff file my image opens up with the alpha applied already. What I mean by applied is my background is gone or transparent. I have no other layer to turn on. Just my image with no background. Also in the channel tab I have no alpha I would have to create one from the original image.
I hope this explains my issue better, if not let me know I'll have to do some screen shot for you.

Similar Messages

  • Why does my font color change when I add an image to InDesign?

    Hello, I am doing a page layout in InDesign and I am using a light blue font for my title but when I add an image from Photoshop, the font color turns dark blue. When I open the InDesign file in Adobe Acrobat, my title is still dark blue. It's only when I make a PDF of the file in Acrobat and open it in the Safari browser that the title goes back to its original light blue font. Is there something I can do to fix this? Thank you!

    Not a good idea. The flattened PSD has lost all its layers, adjustments, and effects. I hope you don’t need to edit it or change any layer’s visibility. Either that or you now have two files to keep track of and have neutered InDesign’s Edit Original feature. Better to take Peter’s advice and place the text above the image so it is not affected by transparency flattening. If you need the text below because you want the drop shadow to interact with the text, then use Overprint Preview (View menu) or Separations Preview (Window > Output) to get a more accurate view of the text colour.

  • Why does my Background image color changes when I place an image ?

    Hi everyone,
       I'd like to make a presentation in InDesign. I put a background image into a different layer which I called "Background" and then I create a new layer which I called "Images" and place an image with a transparency layer. When I place this image onto the Images layer color of the image in the Background layer changes. I can not figure out why It changes its color. I'd be grateful to anyone who can help me resolve this problem ?
    Regards
    Cem

    Edit > Transparency Blend Space... and set it to match the color mode of the background image.

  • Color change when opening in Reader

    Hi, I created a PDF in Photoshop. I then added an editable field in Acrobat, using the same RGBs. When I open the file in Reader, the color of the editable field does not match. Any suggestions on what I can do to resolve this?  I have the most recent version of Acrobat and Reader.
    Thanks,
    Jackie

    Here is a screen shot of the reader PDF, followed by the original file in Acrobat. You can see that the entire document color changed when I opened it in Reader.
    THanks,
    Jackie

  • Rules applied to multiple cells trigger color changes when any of the cells

    "Rules applied to multiple cells trigger color changes when any of the cells meet the rule’s condition." That's what Help says, but when I follow the directions, it doesn't work. This is in Numbers 08.
    I have a table where the contents of one column are either "YES" or "NO", depending on formulas using variables from other cells. If YES, I want the fill of that cell and that of two adjacent cells to change from white to green. I select all three cells and use conditional format rules for "text contains:" YES, then choose my fill color. When I return to the table and introduce values for the variables that trigger the rule, only the cell in the YES/NO column changes to green; the other two remain white.
    While I am spreadsheet challenged, I usually can follow directions as plain as those in Help, but it's not working. I couldn't find anything in the discussions after an hour of searching. Is this a known problem or am I just stupid?

    For what it's worth, that's the way I read that line in the User Guide as well. What it actually appears to mean, though is 'Rules applied to multiple cells apply independently to each of the cells."
    Here's a workaround for your three adjacent columns. Long, but fairly simple steps.
    Add a second table to the sheet (Table 2).
    Resize the second table to one column wide and as many rows as you want to apply the conditional format to.
    Set the width of the column to the same width as the three columns you want to highlight, and the row height(s) to match the rows.
    Format to table to have NO Header or Footer row or column.
    Use the Wrap Inspector to uncheck "Object causes wrap"
    In the first top cell of Table 2, enter an = sign, then Click on Table 1 in the sidebar, Click on the first cell that will hold YES or NO.
    Fill the formula down the rest of Table 2.
    With all cells in Table 2 selected, use the Cell Format inspector to set the 'text contains yes' rule and the conditional fill colour for these cells.
    Test the conditional formating by introducing values into Table 1.
    Click on Table 1 in the sidebar, then use the Table inspector to set Cell Fill to 'none'.
    Click on Table 2 in the sidebar, then drag that table onto table 1 aligning it to cover the cells in which the conditional formating is to appear.
    When positioned (and still selected), go to the Arrange menu and Send Backward to move Table 2 behind the (transparent) cells in Table 1.
    With Table 2 still selected, click on the Cell Borders color well and set the Opacity of the borders to 0%.
    Click the Text inspector and set the Text colour Opacity for Table 2 to 0%.
    Regards,
    Barry

  • Why do the colors change when I reopen a document?

    Why do the colors change when I reopen a document?

    Are you opening the same Pages document or do you open another document like Word? I has recently been a similar discussion in this forum.

  • Reading 8kb tiff image and then writing into backend. please help

    Hi All, Please Help ..
    My aim is to read a tiff image which of 8kb 1732x717 size, and then store it into backend.
    what I did is read the image into bufferedImage and then used tiffencodeparam with compression_none but the problem is size is too much after encoding.
    code sample
    BufferedImage image = ImageIO.read(tiff_filename); to read tiff image
    to write tiff image
    TiffEncodeParam p = new TiffEncodeParam();
    p.setCompression(TiffEncdeParam.COMPRESSION_NONE);
    FileOutputStream out = new FIleOutputStream(tiff_filename);
    ImageEncoder e = ImageCodec.createImageEncoder(""TIFF,out,p);
    e.encode(image);
    out.close();

    I got all my pictures AND everything else back, folders, ratings, keywords etc
    Fortunately I had a backup of the entire iPhoto library folder, it was about 3 months old (I know shame on me) so I didn't want to just use the entire backup folder and lose 3 months of photos.
    So I just copied the AlbumData.xml file and the Library6.iPhoto file. PRESTO all my pictures were back WITH all the folders,keywords etc, etc intact!! (up till the 3 month old backup point).
    Then I just re-imported the missing 3 months worth of pictures from the original folder in the iphoto library folder. So all I had to recreate was 3 months worth of customization. WHEW!!
    Reading through the discussions it seems there is a fair number of users where iPhoto would go empty, but they knew the images were still on the computer. I am not a programmer, but it seems silly to me the their are files that get re-written everytime iPhoto closes....computers crash. and then what happens to the files? Mine got corrupted, lesson learned BACKUP more frequently!!
    Thanks to Old Toad who steered me to the Library6.iPhoto as a possible troublemaker in another thread!

  • Color change when transferring image from Photoshop to After Effects

    Hi everyone,
    I am trying to import a logo from photoshop CS6 to After Effects CS6, however the black color within the image changes to a dark grey when it gets into AE. I noticed on the color picker in PS that it changes to the same grey color that is used as the replacement web safe color. Therefore I'm assuming AE is just converting everything into web safe colors.
    Is there something I need to change in AE to allow me to import the image and keep all the original non web safe photoshop colors?
    Sorry if this is a very basic question thats been answered before, I couldn't seem to find the answer within these forums.
    Many thanks in advance,
    Spencer

    This has nothing to do with web safe. You are making a mess of color management/ color profiles. You have soemthing enabled in PS and since AE by default doesn't use any color managemnt and just assumes plain sRGB, the colors change. There's no easy explanations here, but you have soem reading up to do about color management in general and also specifically how Photoshop corrects for monitor profiles and how to use the Proof Preview to compensate for that or how to establish a workflwo that mimicsa AE's "unmanaged" colorspace.
    Mylenium

  • Fireworks CS3-Color changes when importing Photoshop images

    Hello,
    I created a background image in Photoshop CS3 but whenever I import it into Fireworks CS3 the color changed. It seems that the saturation level is changing. The hue is close however. I tried using the color palette to type in the exact RGB & Hexadecimal number but it is still not working.
    Please help. Thank you

    Here are  couple of good articles on the color profile-Web export issue:
    At Smashing Magazine: http://www.smashingmagazine.com/2009/10/12/setting-up-photoshop-for-web-app-and-iphone-dev elopment/
    At Viget Inspire:http://www.viget.com/inspire/save-for-web-simply/
    (Useful info in the comments, too!)

  • Color change when exported

    Using Lr4.1 on PC w/ win7pro laptop with external NEC multisync mmonitor-calibrated,  I've taken Raws made LR adjustments, then imported 3-10 images into photoshop layers for masking, merges, few if any color changes.  Then save as all layers as a psd, then flatten the psd and save as a tiff.  When I open in LR for any other minor tweaks, sharpening, dust spots, and do an export into SRGB or Adobe rgb, the colors are terrible.  Look nothing like what I see in LR.  I've heard people have minimal issues, but I am having major changes,  many times the collors will become dull and flat or very saturated when viewed.  As an architectural photographer I need these colors close to what I took.   If I edit in CR into PS I don't have this problem.  I assume its related to the prophoto RGB color changing, but I really don't know what's going on with the color space.  The color will appear different from my laptop monitor to the NEC by a lot which I understand a pro monitor will show more colors, but the color space shift is making a lot of work done in LR useless if I have to redo it all in CR.  How can I get LR to export the colors I see in LR into a srgb jpg and Adobe tiff?
    Thanks

    Lots of steps here:
    "Using Lr4.1 on PC w/ win7pro laptop with external NEC multisync mmonitor-calibrated,  I've taken Raws made LR adjustments, then imported 3-10 images into photoshop layers for masking, merges, few if any color changes."
    How do you get them into PS?  What do you mean by "imported 3-10 images into photoshop"?  Do you mean you use "Edit in.." from LR, and choose "Open as layers in Photoshop..."?
    "Then save as all layers as a psd, then flatten the psd and save as a tiff."
    How does it look in PS?
    "When I open in LR for any other minor tweaks, sharpening, dust spots"
    How do you open in LR?  The normal process, after "Edit in..." is that you save in PS, and the image is automatically stacked in LR against the original (or one of the originals, if you open several by "Open as layers in Photoshop...").  How does it look now?
    "and do an export into SRGB or Adobe rgb, the colors are terrible.  Look nothing like what I see in LR." 
    Only now they look terrible?  They looked OK in LR originally, OK in PS, OK when back in LR, but when you export they look bad - is that right?  And as Victoria says, how are you viewing the exported images? 
    "I assume its related to the prophoto RGB color changing, but I really don't know what's going on with the color space." 
    It certainly shouldn't be due to colour space changing.  The whole point of colour management is that it deals with this. 
    Final points:  you say your monitor is calibrated.  You do mean calibrated and profiled with a hardware instrument (Spyder, Colormunki etc)?
    And, color settings in Photoshop, they should look something like this:
    Choice of working space should be ProPhoto RGB, Adobe RGB or sRGB, but not a monitor or printer profile.  Policies should all be "Preserve" and I recommend all the "Ask When" boxed be checked (so you are warned of mismatches). 

  • Color shift when exporting to tiff

    Hi,
    I have a vector image which I created using multiply transparency layers, however when I export it to tiff or import it to psd, the color changes (it gets darken).  The ai file is in cmyk.
    The image is intended for print and will most likely be place in a word document. How should I set the color setting/profile so that I could get a consistent color across the different file formats?
    Thanks so mcuh for you guys help!!!!

    Hi Kwaim
    Please do a test:
    You take an object and set multiply to interact with others, ok? So select that object and all object underneath influenced or token by multiply. Go to Object > Rasterize. Select high for the resolution.
    After process, color changes?
    If yes, stop and report me
    If no, try exporting to tiff and tell me results
    Gustavo.

  • Color Change when saving from CS4

    I have an image from which I wish to make a selection and save as a .png or .gif file on transparent background to use in a collage.  When I re-save the image from CS4, the color is changed quite drastically (face from color to ash!).  The image was shot with a P&S as .jpg but opens in PS first in the cameraRaw dialogue for unknown reasons:
    http://www.gobeck.ca/screenshots/cameraRAW.jpg
    When I save it from CS4:
    http://www.gobeck.ca/screenshots/color_rendition.jpg
    Result form the selection:
    http://www.gobeck.ca/screenshots/color_change.jpg
    How do I resolve this?
    Art

    For disabling JPEG in ACR go to EDIT => Preferences => Camera Raw and switch it to "Disable JPEG Support" at the bottom in JPEG and TIFF handling.
    It seems that you apply the ProPhoto colorspace via ACR.
    So the result can have two reasons: either the JPEG was saved untagged (converted to ProPhoto but without embedded colorspace) or it was tagged and saved with an embedded profile, but the other applications are non- or wrong colormanaged. Both will result in a desaturated image like it shows up to the right:
    How the appear in a non-colormanaged browser, see the names:
    Also the # in the image name (3rd image) indicates that your color settings (workspace settings) in PS are different from the colorspace of the image.
    Either apply sRGB when you go through ACR or disable the open JPEG with ACR feature as desribed above, which should preserve the original colorspace.

  • Color changes when creating PDF in Acrobat X Standard

    I'm printing to PDF from Word 2010 by using Acrobat X Standard.  Here are the two issues:
    I have overlaid two text boxes (different colors) on top of each other.  The overall image should be blue on top and bottom with tan in the middle.  When I print to PDF in Word, the PDF is perfect; however, when I print to the printer, the blue on the bottom changes to purple, while the blue on top is correct.  Again, this is the same blue text box, so I don't know why the color changes.
    Also, the tan is a darker shade than what the PDF shows.
    Is this a printer issue or PDF settings issue?
    I'm new to using Acrobat, so any step-by-step help is very much appreciated!
    Thank you.

    Create Adobe PDF is a (by default) a LOSSLESS operation where Acrobat processes the Word graphics data directly into PDF.   Printing is a LOSSY operation that first has Word convert Word->”printer spool”, then the printer driver (Adobe PDF) converts that “printer spool” into Postscript, and then Distiller converts the Postscript into PDF.   As you might imagine, you get MUCH higher quality and fidelity results from the former.
    Have you verified that you are using the same color management settings in the printer from both Word and Acrobat?  Is the Konica configured for Postscript, PCL, other?  There are SO MANY possible options that could be impacting your configuration…

  • Why does JButton background color change when  clicking ?

    Hello,
    I have defined :
    JButton mybutton = new JButton(Icon xxx) ;
    with no associated text and I set both foreground and background colors to black, and an empty border.
    This is because the background color of the container which contents this button is also black and I want to see only the button icon.
    When I click on the icon , the button background color becomes grey. How can I change this to make it remains black ?
    Thanks a lot.
    Gege

    Well, the color changes because that is how the look and feel is defined,
    presumably to give better feedback to the user that she has clicked the
    button.
    If you don't want this, you could try using a different L&F which doesn't do this.
    Alternatively, If you've only got the one button, you could just do
        UIManager.put( "Button.select", Color.BLACK );If you have multiple buttons, and you want the other buttons to behave
    normally, you can extend the one button and have it change the color
    while it is pressed, e.g.,
    import java.awt.*;
    import java.io.IOException;
    import java.net.URL;
    import javax.swing.*;
    public class ButtonSelect extends JFrame {
         public ButtonSelect() throws IOException {
              super();
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JPanel panel = new JPanel();
              panel.add( new JButton( "Normal" ) );
              Image img = Toolkit.getDefaultToolkit().getImage( new URL("http://www.google.com/intl/en/images/logo.gif" ) );
              ImageIcon ii = new ImageIcon( img );
              JButton b = new JButton( ii ) {
                   static final private String KEY = "Button.select";
                   public void paint( Graphics g ) {
                        Color save = null;
                        if ( getModel().isArmed() && getModel().isPressed() ) {
                             save = UIManager.getColor( KEY );
                             UIManager.put( KEY, Color.WHITE );
                        super.paint( g );
                        if ( save != null )
                             UIManager.put( KEY, save );
              b.setForeground( Color.WHITE );
              b.setBackground( Color.WHITE );
              b.setFocusPainted( false );
              panel.add( b );
              getContentPane().add( panel );
              pack();
              setVisible( true );
         public static void main( String[] a ) throws IOException {
              new ButtonSelect();
    }

  • Color Changes when form field added

    When I add a form filed to a pdf, the color changes on the output of the pdf.
    Print out the attached pdf pages 1 and 3. Look at the green button. It is darker on the pages with the form field(p1) then on page 3. they are the same source file. It like when I add the form field, it changes the page to a CMYK color space and the images are in a RGC Color space.
    Any ideas

    Follow-up:
    One of my colleagues is working on a product feature that involves checkboxes (this is how I came across this issue in the first place). His checkboxes aren't contained within a form element whereas in my test page I described in my question when I removed the form from the page the issue didn't manifest.
    However, the page he's working on does contain other forms so I decided to modify my test page to try to replicate this scenario. I found some really odd behavior.
    If I have a form on a page but the checkboxes are not children of that form, and if I dynamically add a single INPUT element or a single TEXTAREA input, the checked values just disappear on page refresh. That's expected since the lack of a parent form should eliminate the memory of the checkbox values, right?
    Well, when I dynamically add '''both''' an INPUT element and a TEXTAREA element it goes right back to remembering '''and''' moving the checked value, but only by one step. By comparison, if the checkboxes and the dynamically added form fields are contained with a form the checked value will move by a number of steps equal to the number of dynamically added form fields.
    Strange, strange behavior I can't really decode with certainty across the entire range of possible scenarios...

Maybe you are looking for

  • Is it possible to uninstall Windows 7 in Parallels 6?

    I have to be really honest about this , I installed a fake windows7 to test my Parallels Desktop. I want to remove the old Windows 7 and reinstall a new one..now a licensed software. But I have some programs installed in it which I do not want to rem

  • Oracle 6i forms & Oracle 9i Database server

    Hi everyone, i recently got appointed in a company as an Oracle DBA...i dont have ne prior experience as an Oracle DBA or developer...i have some general questions regarding Oracle 6i forms...May be u gurus can help me out. # We have our financial ap

  • In ECC 6.0, can I link a CTS project id to a transport target group?

    In ECC 6.0, can I link a CTS project id to a specific transport target group? I configured two IMG projects, namely, Phase1 and Phase2.  In SPRO, I tied them to CTS project ids, DEV_P00001 and DEV_P00002, respectively.  In STMS, I configured two tran

  • How to repeat effects?

    I began to learn After Effects a few days ago. I already know how to repeat a shape in a shape layer and how to put effects onto a shape layer. But I don't know how to repeat this effect without using expressions. For example: I have an shape layer a

  • My batter will not charge in my macbook but it will in any other one

    I'm not sure what is wrong my macbook jsuddenly stopped charging my battery. I can but my battery in my brothers computer and it charges but mine does not charge any batteries i tried to charge my brothers and nothing both batteries are good anyone k