Save to PNG using IMAQ file write file does not save good Gray Scale

Hi - I have a simple VI which reads a raw U16 file and then try to save the option IMAQ write PNG file (because I want the 16-bit format).

I defined a custom color table which is just opposite of gray, and this is applied to the image.

The Image displays properly, but saves the PNG file with non-inverted grayscale.

U16 RAW file is titled "Martha 1849-02-001-6 - view0000_raw_grey_16bit.raw' and sent to ftp://ftp.ni.com/incoming. "

How is it and how do we get this working correctly?

Thank you

Don

DonRoth wrote:

I defined a custom color table which is just opposite of gray, and this is applied to the image.

No! your custom color table to display the images, not apply to the image.

In additional, it cannot save the palette as well as the 16-bit image. The pallet can be stored with 8-bit 'indexed' image.

What you can do - if you need just reverse gray, use IMAQ opposite to calculate the negative value of an image.

Andrey.

Tags: NI Hardware

Similar Questions

  • Either the file does not exist, you are not allowed, or is the file may be in use.

    I'll do that as a separate issue because I think that, ultimately, it is this error that is causing me so many problems in InDesign.

    Scenario...

    New Document > drag a CC library item into the document > save the document and close InDesign > open the document, the error message...

    "This document contains < number > links to sources that are missing.  You can find or reedit the missing links using the links Panel. »

    When you attempt to link the missing links again...

    "The file does not exist, you are not allowed, or is the file may be in use."

    When you remove the link to the document and try to reinsert it draws CC...

    "The file does not exist, you are not allowed, or is the file may be in use."

    All this becomes a major problem when trying to output the document in PDF format, which is asking our printer.  The binding elements are given white background and they are of poor quality, too.

    Is this a known bug?  I see a lot of messages about it, which goes back to 2012!, but no solutions to this day.

    I hope someone can help.  Thank you.

    NJ

    > I'll try things that you suggest, but what is most concerning is that this library works with new documents - library items don't report any error.  So why he pointed out problems in a single document display paths and which are all correct?

    The problem could be in the InDesign document, in that you move the data from the library?

    Try saving this file as a file IDML (to clean possible corruption), and then reopen it in a new document and try again.

  • Windows media player.cannot play theplayer file does not support the file type or might not support the codec used to compress the file

    Windows media player

    HI. When I tried to play a movie in my windows media player.it says windows media player.cannot play theplayer file does not support the file type or does not support the codec that was used to compress the file and when I click web help it lead me to windows media player error message help.you met c00d1199 error message when you use windows media player.

    Hello

    ·         What is the format of the files that you play when you get this error?

    ·         Do you get what this error during playback of all files or a particular file?

    You may encounter this error message for the following reasons:

    1. the file type is supported by the drive, but the file was compressed by using a codec that is not supported by the player.

    2 - the file might have been encoded with a codec that is not supported by Windows Media Player. If this is the case, Windows Media Player cannot play the file.

    You can try the steps and check if it makes a difference.

    a. to determine what codec was used with a specific file, play the file in the player, if possible. When the file is playing, right-click the file in the library, and then click Properties. On the file tab, look at the sections of video codec and Audio codec.

    b. download and install Codecs by clicking on the PLAYER tab and check. To connect to the Internet and automatically download the Codecs of the reader.

  • A problem with cc libraries "the file does not exist, you may not, or the file may be in use by another application".

    I'm working on our catalogue on INDesign CC 2015, I have a links to my libraries, I worked every day without any problem. I work on a Mac and Win system, I put the file on my disk hard or on files of cc.

    2 days ago, I opened the file and as a result with any missed links, when I tried to re-link on my library the program shown Indesign files missed this message "the file does not exist, you may not, or the file may be in use by another application", I contacted Italian cat Adobe they suggested me to change the name of the file I did but nothing happened, they suggested to create a new owner of the computer, but it did not work because I work within a team and the file is opened to others of collaboration. I have 333 links so what I shell do? Please help me, I have to finish this work, we need print it out as soon as possible.

    I had this problem after an Indesign file that we've been working on the opening of my colleague. She has made a few changes and then when I went back to work on the file of the library of all the links were broken and I had him "you don't have to leave."

    I've corrected the problems by opening Illustrator and rename the library. InDesign revived and everything from the library was connected properly.

  • The WCChromeExtn file does not exist in the Acrobat folder, so that I can't use the extension of the conversion of PDF in Chrome.

    I installed Acrobat Pro 11.0.10. The WCChromeExtn file does not exist in the Acrobat folder, so that I can't use the extension of the conversion of PDF in Chrome.

    I do not know how to find this file, but it worked after the repair! Thank you.

  • Office Jet 8500 a makes a scan of document, converts and saves the PDF file, but the PDF file does not open

    My new Office Jet 8500 (A910-G) seems to correctly perform a scan to PDF, but the PDF file does not open, gives me the error message "the selected document cannot be opened" in PDF Complete.

    I agree that it's a software because it works well with Adobe Acrobat.  It's just PDF Complete (which was free with my HP computer) does not work!

  • Muse file does not synchronize. I can't use the Cloud

    Your Muse staff, asked me to put this issue on creative cloud, as the Muse file does not synchronize:

    I have problem with Muse files when you work at home with my laptop and when I open the files again in my work with my IMac.

    Could you please help me?

    Hi Hanna,

    I check with a member of the team of Muse to see if there is something else you can do.

    Thank you

    Preran

  • executable file does not appear in the list of programs

    After installation of my executable it does not appear in the list of all Windows programs. I've built a lot of executable and installers before but this is the first time I see this. The folder is created in the Program Files (x 86) directory and the program performed well when I double-click on the .exe.

    This sw was initially developed with LV10 with WinXP then moved to LV2012 with Win7 64 bit and then to LV2013 and it uses a plugin architecture (I'm still not very familiar with this).

    I also have these following questions:

    1. I don't remember so many folder created after building an exe file (see photo "filelist.png") before moving this application to LV2013, why all these dataX folders are created? (associated with the plugins?). Except for the data folder containing my ini and xml configuration files these folders all contain a single mnu file.

    2 - Why are there some records of pilot instrument included in the compilation? (Agilent, Keithley and Tek) I'm also using other equipment, and they do not appear in the construction. These problems with the build because of their tree VI live I had to either check turn debugging on or off the use of the diagram structure on these screws diagram which is certainly not the right way to do it.

    3. probably the most important, what would be a document of reference on how to create an executable and a Setup program for an application architecture plugin.

    Thank you

    Ben64

    You use LVOOP you use the NI Report Generation Toolkit, which is implemented using OBJECT oriented programming. Already this explains some of the additional folders that you see.

    Other components are of course part of lvlibp (packed project library) and where it will not integrate the EXE itself. Also their dependencies... which may explain support directories (data1, data2,...).

    Referring to other settings, the log file does not help much. So we can not tell you why the installation program does not create a program shortcut in "start > programs". If you check the "shortcuts", you should be able to see if there is a routine in the Setup to create such a link or not. If the parameter is there, but the installation fails to create, it can be connected to the user rights that you use to run the installer...

    Norbert

  • This file does not have a program in association with it. Create an association in the folder option control panel

    I can not open the photos as attachments in my outlook express 6. I get the following. "This file does not have a program in association with it. Create an association in the Panel options forder. »

    I use xp sp3.

    When I save the image on my hard drive I have no problem opening it.

    I'm sorry I didn't read your response completely, will try what you suggested

    Thank you.

  • If I try and open an email with an attachment I get an error message: this file does not have a program associated with it for performing this action.

    If I try and open an email with an attachment I get an error message: this file does not have a program associated with it for performing this action. create an association in the folders option control panel.  Once there, I don't know where to go

    What is the attachment file extension? If you know what program should open with, just do the following.
     
    1. download and save the attachment to the office.
    2. right click on the saved file.
    3. Select: Open with on the shortcut menu.
    4. click on: choose [default] program.
    5. Select: The appropriate program.
    6. check: always use the selected program to open this type of file.
    7. click on OK.
     
    This should allow you to open these attachments directly from email address now.
  • the windows boot configuration data file does not contain a valid entry os

    Hello

    I got this message when recovery... I can't get the windows... I have the CD recovery, but when I boot it... It gives me this message

    the windows boot configuration data file does not contain a valid entry os

     


    How do I solve this problem

    Hello

    Assuming that it's just a problem with the recovery media, here's another solution, you can try.

    Before you try the following, make sure that you can always read the character product activation key 25 on your label Windows COA (5 blocks of 5 alphanumeric games).

    An example of a COA label can be seen here.

    You can create a Windows 7 installation disc yourself using another PC - just download the good Disk Image ( it must be the same version that originally shipped with your laptop - IE if your laptop comes with Windows 7 Home Premium, that is the file you need to download ) from the link below and use an app like ImgBurn to burn the ISO correctly file on a blank DVD - a guide on the use of ImgBurn to write an ISO on a disc is here.  The source of the Image is - Digital River.

    Images of Windows 7.

    Use the disk to perform the installation, enter the activation key of Windows on the label of the COA at the request and once the installation is complete, use ' 'phone Method' described in detail in the link below to activate the operating system -this made method supported by Microsoft and is popular with people who want to just have a new installation of Windows 7 without additional software load normally comes with OEM installations.

    http://www.kodyaz.com/articles/how-to-activate-Windows-7-by-phone.aspx

    All pilots additional and the software you may need are located by entering your full model number or Nr here.

    Kind regards

    DP - K

  • Edition with added script AS2 FLA file does not work

    I hired someone else to do the writing of scripts for animation I created originally. He calls an xml file that displays 3 different items in the flash. It works very well... except when I open the FLA and republish - even if I do not change a single thing, the SWF file does not work. I tried everything nothing helped. The writer use CS3. I use CS4, I tried with the CS3 version (on another computer). The writer and myself work on Mac. The writer has even sent screenshots of publication of windows, and I select all options of same exact. (version 9, AS2).  All the world run into this kind of problem? I'm at end of witt. I really need to be able to make changes to this file and publish it. I can post the FLA file, if someone wants to take a look.  TIA, Julie

    you are missing a greensock TweenMax class.

    I will try and attach a copy for you.  If it fails, you can go to: http://blog.greensock.com/tweenmaxas3/

    and dl the as2 version.  Place the gs folder in the same folder as banner.fla

  • RH 8 link to external file does not

    I create a link to a PDF file using the dialog hyperlink RoboHelp 8.  I can use the other options in the dialog box (such as mailto, etc.) very well, but when I try the link break in Webhelp it does not work.  Not only that, but the file does not save correctly, using either save or save all icons: he recorded a version of the file that is created when the connection was not yet built, but the anchor text is there.  For example, if I use the text "Test", select it and use the dialog box to add the syntax of jumping, he adds correctly, and you can check this in code view or a text editor.  However, generate Webhelp of this file and - poof! -the syntax of jump does not appear in the file that results, that the word 'Test '.

    I can generate AIR help using the same syntax and the file records very well, and the link works.  Same thing in HTMLHelp.  Plain old HTML in a browser works.  Any ideas on what is happening and is there a workaround?

    Hello

    It is a known problem if you test by displaying the files from your local hard drive and you use Microsoft Internet Explorer as your browser.

    RoboHelp has a framework known as a mark of The Web (MOTW) which is normally activated. With MOTW, links to things like PDF and Word documents will fail.

    Try to generate WebHelp with MOTW off. This by double-clicking on the WebHelp layout in the pod of single Source Layouts.

    Once you do that then you will see another issue rear its ugly little head. When you try to view your WebHelp in Internet Explorer, you are then faced with the Bar little yellow Information (YIB). The link below will show you how to configure IE if you do not see the YIB when you test your WebHelp.

    Click here to see

    See you soon... Rick

  • Numbers - files does not

    After the update to iOS 9.3.3 my numbers is not able to open my documents. It kept loading and select the file does not answer.

    I deleted the numbers and re - install on App Store, after which my files stored in iCloud appears also not in number. Although I have activate iCloud.

    I connected my Mac Book Air Safari iCloud, I am able to see and edit my files of numbers. But they do not appear on my iPhone 6 s +. Pages and Keynote is correct and work without any problem.

    Try the settings > numbers > use iCloud > Off and then turn it back on.

    TT2

  • Cannot open this file does not have a program associated with this powerpoint action-

    original title: =-help

    I was able to open downloaded PowerPoint now all of a sudden I get the message that this file does not have a program associated with this action.  Create an association in the folder option control panel.

    Hi JeanZM,

    By anychance have upgraded your MS Office? or remove powerpoint? Anyway try

    Rightclick the downloaded powerpoint presentation, select openwith-> select powerpoint-> tickmark "always use the selected... program. "and click ok.

    You should be able to open the rest of the slides without any problem.

    I hope this helps.

Maybe you are looking for