Colormodel wrong when loading TIF

I have a TIFF image which I can't correctly convert or display in Java. However, in any other image viewer (default windows, irfanview), it displays without errors.
When I load the TIF file, it gives the folowing color model:
#pixelBits = 32
numComponents = 4
color space = com.sun.media.imageioimpl.common.SimpleCMYKColorSpace@e86da0
transparency = 1
has alpha = false
isAlphaPre = false <ImageTransformer(main-5)>Using this little program
            Image img = ImageIO.read(new File("small-error.tif"));
            JLabel l = new JLabel(new ImageIcon(img));
            JFrame frame = new JFrame("Image test");
            frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
            frame.getContentPane().add(l, BorderLayout.CENTER);
            frame.pack();
            frame.setVisible(true);I noticed it wouldn't display correctly either.
Here is the test image:
http://dev.xiam.nl/small-error.tif (~20kb)
I have a whole bunch of these TIF's, and they're all wrong when displayed in Java. TIF files I create myself though work fine. The original image was create in Adobe Photoshop CS2 on the mac. Is this a bug in Java? Does anyone know a solution.

Hi...Sorry I shouldn't disturb you here where you expect reply with solution to your problem. But I'm helpless now...you somedays ago posted a reply on my message...my subject was "BMP Image in HTMLEdiorKit". I posted a message to you after reading your message and waiting to hear from you. Would you please read the message posted to you and let me know the topics I need to know?
Thanks

Similar Messages

  • I must have used a wrong id when loading my itune gift card,please let me know which account redeemed it.

    i must have used a wrong id when loading my itune gift card,please let me know which account redeemed it.
    <Edited by Host>

    Nobody here can; only the iTunes Store staff might be able to help with this.
    (74761)

  • Firefox consistently crashes when loading Flash sites

    For a couple of reasons I decided to go ahead and install OSS a few days ago.  On the first day, the install went smoothly and everything was working just as it should (I used the oss-linux-free PKGBUILD in AUR).  Yesterday and today, however, I've started to get a reoccurring problem that is, to put it lightly, driving me nuts.
    Firefox (or Epiphany, though I prefer the former) consistently crashes when opening up any site that uses Flash or Java.  With the way the internet is going, this is a large chunk of websites—not being able to visit YouTube or the website for Enemy Territory: Quake wars, for instance, is driving me nuts.
    Now, when I say "consistently" I don't mean each and every time.  I've been able to get these sites to load a number of times, but in the last two days Firefox has crashed in probably 2/3-3/4 of the time when loading any site that has a Flash element.  I've made sure that I have not wrongly assumed this has to do with my newly installed OSS by uninstalling, reinstalling the kernel and all ALSA packages, rebooting, and then surfing the web for a while to see if anything went wrong.  It didn't. 
    So my question is this: why is Firefox crashing so often in the two days since I've installed OSS?  What can be done to rectify this?
    After some experimenting, it seems the problem is worst under the following conditions:
    - Having several tabs open, though not necessarily several tabs with Flash
    - Listening to music and THEN navigating to YouTube or something.
    However, it's not specific to these circumstances.  In fact, just before I decided to make this post I opened Firefox, went to a site with Flash on it (one tab), and it immediately shut down.  I tried this three or four additional times and was met with the exact same results.
    Other info
    Firefox: Pre-compiled Mozilla i686 build, v. 2.0.0.11
    OSS: OSS (GPL version) 4.0, build 1012
    Operating System: Arch Linux 2.6.23-ARCH
    I've also posted this here.

    I have the same problem. I've never been able to identify when it started. Once firefox crashes, mpd, if it was playing, becomes unresponsive. The only way to get a flash site working again is to reboot my computer.
    I uninstalled flash: I'm not going to put up with that kind of behaviour. Now I watch youtube videos on other people's computers --you know how they say "You've GOT to see this movie!". And if I really need to see that one specific video, there's youtube-dl.
    Unfortunately gnash doesn't work on youtube for me.

  • Error 1 when loading flat file in BW 7.0

    Hi,
        The flat file structure is same as the transfer structure. Its a csv file and i also checked about the delimiters and stuff.The flat is not open and it is closed while i am loading it. The same file gets loaded if i try in another laptop with my id.If i use my colleague's id on my system also...it doest work...so, the basic problem is with my laptop. I know its nor related to type of data or transfer structure. Its some settings on my laptop which got changed automatically. If i install some other softwares like mozilla firefox or yahoo msg-will that create a problem? I am not at all understanding why its like this. Please help.The error msgs i get when i try to load the flat file -
    Error 1 when loading external data
    Diagnosis
    Error number 1 occurred when loading external data:
    1. Error when reading the file (access rights, file name, ...)
    2. File size or number of records does not correspond to the data in the control file
    3. Error when generating the IDoc
    4. File contains invalid data (errors with an arithmetic operation or data conversion)
    Procedure
    Check whether you have the required access rights and whether the data in the control file is correct (file names, record length, number of records, ...). Correct the data in the control file if necessary and check the data file for invalid data (values of the wrong type, values in the wrong format for conversion exit,...). Check whether the file has headers that have not been specified.
    Error when opening the data file C:\vikki1.csv (origin C)
    Message no.
    Diagnosis
    File C:\ vikki1.csv (origin C) could not be opened.
    Origin:
    A : Application server
    C : Client workstation
    Procedure
    Check whether the file entered exists and is not been used by other applications.

    Hi! Vikki,
    Error 1 means your flat file is open while uploading the data..
    your flat file should be closed while uploading data in BW.
    that is why it is saying "Error when opening the file..".
    first close that file n then upload..it will work.
    rest of the things are ok!..
    I hope this will help you.
    Regards,
    khyati.

  • Zen X-Fi2 extremely slow when loading playlists!

    0Zen X-Fi2 extremely slow when loading playlists!?I recently purchased a Zen X-Fi2 64gb. I'd been waiting for a player of this size for a few years now but Creative was behind the power curve so I temporarily switched to an Archos 80gb. After the Archos began to annoy me I ended up just going with the Zen 32gb flash based player. It works/ed great. This new Zen X-Fi2 however is unbearably slow! I don't mind quite sometime to rebuild the library once the initial sync is done but when it takes 5 minutes to load a playlist (3000+ songs) then I get upset. It takes so long to load said playlist that the player shuts off before it has time to load all the songs. I can't even just click play right away like I could on the Zen. The only way I've been able to get around it is to tap the screen twice. Once to load the playlist (which takes forever if it's more than 00 songs) and again to play once the lengthy loading process is over with. However even then it doesn't load all the songs. I've been communicating with tech support about this with no resolution in sight. All they keep telling me is how 'normal' it is for a player to load a large number of songs. My Zen which is an MTP player syncs and plays music much faster! Is there anyway to possibly upgrade this to an MTP player?

    Hi Vokivolli,
    Almost 2 months on from your original post I see that you have received no reply from an administrator. Are these problems still persisting with your player? I have an X-Fi Style too and am experiencing the same problems. Like you I was hoping that firmware updates would address the problem. I don't think that the Style is a priority for Creative and unfortunately I don't see them bothering to solve these issues. Hope I'm wrong cos otherwise I love the X-Fi Style.

  • Error 41453 When loading opportunities

    Hello there,
    Could anybody help me with this question: when loading opportunities, I get this error message: "An unexpected error occurred during the import of the following row: 'Opportunity Name: tests; Direct Customer: ' " does anybody knows what does this mean?
    Cheers
    Joann

    Hello,
    I had the same error. <i>Error 1 when loading external data from a flat file</i>. I didn't now what was wrong with it. We started to make some test and try the solution we read here but the error continued, and it finally worked when we changed the name of the file, and <b>got rid of all the blanc spaces in the name</b>.
    I hope it works for you too.
    Regards.
    Message was edited by:
            AltimBW Astral

  • What's the point on using KF in addition when loading datastore objects?

    Hi all,
    i'd like to know why sometimes KFs are uploaded in addition even when loading a dso.
    I mean, when KF are all in overwrite it's easier to do a full repair request if something goes wrong or you are loading a new field in BW, so why some KFs are in addition (stock movements for example)? It's a choice or it's mandatory?
    Thank you
    Stefano

    Hi Stefano,
    this is because some datasources deliver a real delta in terms of changes of keyfigures. So they deliver the decrement or increment of the keyfigure and nothing else.
    e.g;
    Attribute1  Attribute2 Keyfigure1
    xyz           abc          1000.00       "the original 'init' record
    xyz           abc          -100.00        "the first change but the real value should be 900 now
    xyz           abc          +200.00       "the second change, the real value should be 1100 now
    If you set up the keyfigure in overwrite mode in this case, you will end up with 200 instead of 1100.
    best regards
    Siggi

  • Error 6A80 when loading applet to my card

    Hi everyone,
    First, please excuse me for my bad english, i'm french.
    So, i'm trying to upload an applet to my eGate CyberFlex 32K JavaCard, but some code lines causes 6A80 error.
    Here is my applet source (it's just a first test ;-) ) :
    package applet;
    import javacard.framework.*;
    public class TheApplet extends Applet {
        private final static byte CARD_CLA      = (byte)0x80;
        private final static byte INS_TEST      = (byte)0x02;
        private final static byte PIN_TRY_LIMIT = (byte)0x03;
        private final static byte MAX_PIN_SIZE  = (byte)0x04;
        final static short SW_PIN_VERIFICATION_REQUIRED = 0x6301;
        protected byte[] name = {'T', 'e', 's', 't'};
        private OwnerPIN pin;
        protected TheApplet() throws PINException {
            this.register();
            pin = new OwnerPIN(PIN_TRY_LIMIT, MAX_PIN_SIZE);
            byte[] pins = {(byte)0, (byte)0, (byte)0, (byte)0};
            pin.update(pins, (short)0, MAX_PIN_SIZE);
            byte i = pin.getTriesRemaining();
            //pin.check(pins, (short)0, MAX_PIN_SIZE); // CAUSES 6A80 error when loading
        public static void install (byte[] bArray, short bOffset, byte bLength)
        throws ISOException {
            new TheApplet();
        public boolean select() {
            /*if (pin.getTriesRemaining() == 0) { // CAUSES 6A80 error too..
                return false;
            return true;
        public void process(APDU apdu) throws ISOException, PINException {
            byte[] buffer = apdu.getBuffer();
            if (selectingApplet() == true) {
                return;
            if (buffer[ISO7816.OFFSET_CLA] != CARD_CLA) {
                ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
            if (buffer[ISO7816.OFFSET_INS] != INS_TEST) {
                ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
            //pin.isValidated(); // Causes error.
            apdu.setOutgoing();
            apdu.setOutgoingLength((short)name.length);
            apdu.sendBytesLong(name, (short)0, (short)name.length);
    }In fact, all access to pin causes error when loading, when commented lines are uncommented, the applet loads successfully.
    Do you know what the problem is ?
    I'm using JavaCard 2.1.2, and GPshell 1.4.2.
    This is the gpshell script :
    echo mode_201 > $OUT/config.txt
    echo establish_context >> $OUT/config.txt
    echo card_connect >> $OUT/config.txt
    echo select -AID $CARDSECURITYDOMAIN2 >> $OUT/config.txt
    echo open_sc -security 1 -keyind 0 -keyver 0 -mac_key $CARDKEY -enc_key $CARDKEY >> $OUT/config.txt
    echo install_for_load -pkgAID $PACKAGEAID -nvCodeLimit 500 >> $OUT/config.txt
    echo load -file $OUT/$PROJECT/$PKGAPPLET/javacard/$PKGAPPLET.cap.transf >> $OUT/config.txt
    echo install_for_install -instParam 00 -priv 02 -AID $APPLETAID -pkgAID $PACKAGEAID -instAID $APPLETAID -nvDataLimit 500 >> $OUT/config.txt
    echo card_disconnect >> $OUT/config.txt
    echo release_context >> $OUT/config.txtwith :
    CARDKEY=404142434445464748494A4B4C4D4E4F
    APPLETAID=A00000006203010C0601
    PACKAGEAID=A00000006203010C06The error i got is :
    load_applet() returns 0x80206A80 (6A80: Wrong data / Incorrect values in command data.)Thank you for your help.
    Edited by: Anakim14 on Apr 20, 2009 3:12 AM

    up.

  • Error 1 when loading data from flat file

    Hi,
    I am working on BW 3.5 when i was loading flat file it is giving error 1 when loading external data can anyone solve and mail to me this email id [email protected] .

    Hi,
    I have done correctly but even error 1 data loading from external file is coming, i just clicked on that and it came like this, Error 1 when loading external data,no invalid data like arthematics operations,But file accessing and path is correct.
    Message no. RSAR234
    Diagnosis
    Error number 1 occurred when loading external data:
    1. Error when reading the file (access rights, file name, ...)
    2. File size or number of records does not correspond to the data in the control file
    3. Error when generating the IDoc
    4. File contains invalid data (errors with an arithmetic operation or data conversion)
    Procedure
    Check whether you have the required access rights and whether the data in the control file is correct (file names, record length, number of records, ...). Correct the data in the control file if necessary and check the data file for invalid data (values of the wrong type, values in the wrong format for conversion exit,...). Check whether the file has headers that have not been specified.
    Thanks
    Sunitha

  • When loading Elements 10 why did it remove my Nic Software add-ons in Lightroom 3?

    I have uninstalled and reinstalled the Nic programmes but no success. And it is all now so slow that i am thinking of reinstalling everything. With Windows 7, 8 gb of memory and and i5 Intel processor, my computer should be able to handle this. Elements 7 was already there and working well, so I must have done something wrong. Any suggestions?
    Thanks,

    thanks for the advice. I will try it outDT
    Date: Mon, 15 Oct 2012 00:41:57 -0600
    From: [email protected]
    To: [email protected]
    Subject: When loading Elements 10 why did it remove my Nic Software add-ons in Lightroom 3?
        Re: When loading Elements 10 why did it remove my Nic Software add-ons in Lightroom 3?
        created by earth-star in Photoshop Elements - View the full discussion
    Hi, After installing NIK plug-ins, Please check on C:\Users\[user name]\AppData\Roaming\Adobe\Lightroom\External Editor Presets folder.Here you can see some Nik- plugins templates , open any template in Notepad and see "ExternalEditorFullPath" verify this path is right and whether .exe file is present at this location or not.Also verify the status of this path and .exe location after using the PSE.I am confident, this is the issue of file path mismatch. Thanks,earth-star.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4774142#4774142
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4774142#4774142
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4774142#4774142. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Logic crashes when loading preferences

    hi!
    can anyone please help? for some reason logic has started crashing when loading the preferences. i noticed for some reason it was playing through the built in audio rather than my motu interface, so i tried loading the preferences to change it and it just crashes every time. this has happened since i reinstalled logic studio 8, because it was giving me an error message on startup that caused it to crash. the error message i was getting was saying i have the wrong pro applications support installed (of which i could not alter or upgrade for some reason). so i went for a reinstall.. and now this other problem. any help would be greatly appreciated!
    i am running logic studio 8.0.2 on a powermac dual 2ghz G5
    with 3gb ram and osx 10.5.3

    Don't wipe your hard disk! (yet)
    It's probably that your preferences have become corrupted. Go to User/Library/Preferences and trash your Logic preferences (com.apple.logic.pro.cs & com.apple.logic.pro.plist).
    Reopen Logic and see what happens. The only problem is that you will lose all your keyboard commands etc., but they're a lot easier to recreate than reinstalling and authorising everything onto your hard drive.
    Also, make a copy of your preferences once you've set everything up so that if you need to trash your preferences again sometime in the future, you can just replace them with the copies you've made.
    I guess if none of this works then you may need reinstall Logic and, at worst everything else.

  • Safari crashing all the time when loading pages

    About two weeks my Safari (3.1) started crashing really a lot, always when loading pages. I am not aware of having installed any new software, and it is really annoying. Any ideas?
    Thank you!

    Firefox is not as fast as Safari 3.1 but it's not that slow!
    If your Safari keeps crashing, or if you are updating Safari (or just have):
    Input Managers and other plug-ins from third parties can do as much harm as good. They use a security loophole to reach right into your applications' code and change that code as the application starts up. If you have installed 10.4.11 and Safari is crashing, the very first thing to do is clear out your InputManagers folders (both in your own Library and in the top-level Library), log out and log back in, and try again.
    So, disable all third party add-ons before updating Safari, as they may not have been updated yet for the new version. Add them back one by one. If something goes awry, remove it again and check on the software manufacturer's website for news of an update to match your version of Safari. Remember: Tiger up to 10.4.10 used Safari 2.0.4 or, if you downloaded it, Safari 3.0.3 beta. Safari 10.4.11 used Safari 3.0.4 which was not a beta, and now Safari 3.1. If Safari 3.1 on 10.4.11 is not the fastest browser you have ever used, then something is wrong!
    (Trying to revert to Safari 2 when running 10.4.11 can have repercussions, as Safari 3.0.4 and 3.1 use a completely different webkit on which other applications like iChat, Mail, Dashboard Widgets etc also rely.)
    Most errors reported here after an update are due to an unrepaired or undetected inherent fault in the system, and/or a third party ad-on. Add-on that have been frequently mentioned here, among others, for causing such problems are Piclens, Saft, AcidSearch and Pithhelmet. If you have them, trash them and go the developer's sites to see if new versions are available for Safari 3.1.
    You should also ensure, if you are running Tiger 10.4.11, that you have downloaded and installed the correct version for your Mac of Security Update 2008-002. Like all security updates, this requires a restart and a permission repair.
    As Leopard also uses Safari 3.0.4, much of the above may well also apply to Leopard, but is not guaranteed. Moreover:
    Some users have mentioned that the latest Flash Player (v.9.0.115.0) conflicts with Safari in Leopard, and that they have needed to revert to v. 9.0.47. This can be downloaded from here:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14266&sliceId=1
    To reiterate, Input Managers reach right into an application and alter its code. This puts the behavior of the affected application outside the control and responsibility of its developers: a recipe for problems. That's not to say that issues absolutely will ensue as a result of Input Managers, but you, as a user, must decide. If the functionality of a specific Input Manager or set thereof is really important to you, you may well choose to assume the associated risk.
    Again, the advice is to remove all Input Managers from the following directories:
    • /Library/InputManagers
    • ~/Library/InputManagers
    especially prior to system updates (they can always be added back one-by-one later).

  • HP Photosmart 7200 Colors are Wrong When Printing on Photo Paper

    I'm running Windows 7 and am having a problem when printing on photo paper.  The colors are off; mainly green.  The colors are fine when printing on plain paper.  I have tried printing from my computer as well as straight from the media card.  Same result.  I am also using HP Photo Premium glossy paper.  Print cartridges are brand new and are loaded correctly.
    Any solutions or troubleshooting tips I can try?

    Hi @Vay725,
    Welcome to the HP Forums!
    I understand that the colors are wrong when printing on photo paper! I am happy to help you with this print quality issue!
    For further assistance, I will need to know some more information:
    The Product/Model Number of your printer. Follow instructions in this link. Finding Your HP Product Model Number.
    If you are using a Windows or Mac Operating System, and the version number. To find the exact version, visit this link. Whatsmyos.
    If the printer is connected, Wireless, or USB.
    If the printer is able to make copies.
    If the power cable is plugged into a surge protector, or directly to the wall outlet. Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector. This applies to Inkjet printers as well. 
    If you are using Genuine HP Ink cartridges.
    Thank you for posting, and have a nice day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • When loaded in an internet browser, a Captivate 2 exported flash player 8(.swf) file doesn't pause when it should

    I have made tutorials using Captivate 2 and exported them as
    an .swf file. When played in Flash Player 8, when previewed in
    Captivate 2, and when loaded in an internet explorer, it doesn't
    pause at each slide like I have programmed it to do in Captivate 2.
    I have put buttons in each slide and make them pause the slide
    until the viewer clicks on it an tells it to move on. It randomly
    doesn't pause and continues on to the next slide. It sometimes
    works and sometimes doesn't work. It's not consistently one slide
    and not another. It is random. Does anyone have a clue what is
    wrong?

    Thank you for pointing out that I need to download the projector. How do I ensure that every time I double click on a swf file, it does not launch Adobe Flash Professional, but instead, it launches Flash Player ver 14. Do I have to place the Flash Player Projector in the library or applications, where exactly should it be placed.
    Next, when I launched Flash Player ver 14, to open the swf file, I clicked on a button that is linked to a website - I get a message:
    "Adobe Flash Player has stopped a potentially unsafe operation,... To let this application  communicate with the Internet, click on settings" I clicked on settings and get the attached panel, which does not make sense to me. And I cannot launch a website by clicking on the button contained in the swf file. Please advise.
    I am using a Mac Book Pro, OSX 10.9.3

  • When loading video or tv shows it is taking as long as 14 hours plus - if I leave the loading screen it doesn't continue to load? So you have to wait without leaving the screen for 14 hours?

    When loading video or tv shows it is taking as long as 14 hours plus - if I leave the loading screen it doesn't continue to load? So you have to wait without leaving the screen for 14 hours? Unfortunately - I've been reading that this lengthy download problem is quite common - although I thought I saw where someone had loaded videos the day before and then had them to watch later. So, my first rental - I downloaded it overnight - then we go to watch it tonight and it proceeds to start loading again...saying it will be ready in 14 hours and 21 minutes!!! Am I doing something wrong here? If anyone has advice - I would greatly appreciate it. This is the first apple product that I am disappointed with

    When loading video or tv shows it is taking as long as 14 hours plus - if I leave the loading screen it doesn't continue to load? So you have to wait without leaving the screen for 14 hours? Unfortunately - I've been reading that this lengthy download problem is quite common - although I thought I saw where someone had loaded videos the day before and then had them to watch later. So, my first rental - I downloaded it overnight - then we go to watch it tonight and it proceeds to start loading again...saying it will be ready in 14 hours and 21 minutes!!! Am I doing something wrong here? If anyone has advice - I would greatly appreciate it. This is the first apple product that I am disappointed with

Maybe you are looking for

  • On my iMac I upgraded from OSX 10.6 to OSX 10.6.8. Now Photoshop Elements won't connect to my scanne

    On my iMac I upgraded from OSX 10.6 to OSX 10.6.8. Now Photoshop Elements 6 will not communicate with my scanner HP Photosmart 209a. I need an HP import module. How do I get one?

  • Business Catalyst Fees

    Do I need to pay a monthly fee above and beyond my creative cloud membership to get access to advanced business catalyst features like ecommerce and blog modules. What actually comes with my creative cloud membership when it comes to business catalys

  • Fill array with file names

    What am I missing?  I've got alerts that should pop up if it works and if it fails but instead it does nothing, I'm sure its possible to create an array that is made up of all the file names of a folder.  In the past I've had to enter all the values

  • How to update the bucketset of business rules in MDS through Rules SDK

    How to update the bucketset of business rules in MDS through Rules SDK. Any sample code which will help me........ :) Is it possible to expose a Business Rule as webservice which was created with the help of Java fact? Edited by: 984804 on Jan 29, 20

  • SAP TM and Event Management

    Hello all, I am a student of informations systems and currently I am writing my bachelor-thesis about SAP Transportation Management 7.0 and SAP Event Management 7.0 in view of Supply Chain Event Management focused on a Fulfillment-Process. I have a f