Incorporation of PNG files in the view

Hello All,
As an example let us consider that I want to make a very simple application that just displays a pre-existing PNG graphics file filling the window and a text area over it. How do I go about doing that? I assume the solution begins with making the PNG certain dimensions and having it in the applications resource folder; after that I am in the dark. Thanks.

Add your PNG to your project (Project->Add To Project...).
It will put the image in your resources folder.
Open your NIB. Drag an NSImageView onto your window. Click attributes in the Inspector. Select your image from the pulldown.
Probably half a dozen other ways to do this.
Eric

Similar Messages

  • How do I move aiff files from the viewer to the timeline-it is not working when I try to drag and click or clicking on overwrite or insert in Final Cut Pro 7. Thanks

    How do I move aiff files from the viewer to the timeline-it is not working when I click and drag or when I try to move the files to the overwrite or insert buttons-Thanks.

    hi
    You cannot move audio from the viewer
    Mark your in and out points then in the browser grab hold of the audio tracks icon and drag that to the time line
    PJ

  • I created a photo book in Photoshop elements 11 that contains png files with the invisible backgrounds.  When I export the book to a jpg or a pdf, the png files appear with white backgrounds.

    I created a photo book in Photoshop elements 11 that contains png files with the invisible backgrounds.  When I export the book to a jpg or a pdf, the png files appear with white backgrounds.  Any suggestions on how to fix this? 

    jpg and pdf formats don't support transparency. You need to use a format such as tif, png or psd that does.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • How to generate PNG file to the disk folder by IBOT?

    Is there a piece of code in JavaScript on how to generate PNG file to the disk folder by IBOT?
    thanks a lot

    Please disregard this message. The information below is only semi-accurate. When I get some kinks worked out I'll edit this again. -Bill
    FYI,
    Don't really know if I'm adding anything useful but here it is. I use NetBeans and I simply added an images folder so now I have my package (deckofcards) and a sub package deckofcards.images.
    The image:
    back: Image {
                url: "{__DIR__}images/B.JPG",
                backgroundLoading:true
                placeholder:bind placeholder
            };works and the value of "{__DIR__}images/B.JPG" becomes
    <CARD backUrl="jar:file:/C:/Users/Bill/Documents/NetBeansProjects/DeckOfCards/dist/DeckOfCards.jar!/deckofcards/B.JPG">
      ...when I marshal. That string (backUrl) will unmarshal correctly and can be use in the url variable to display and image too.
    -Bill
    Edited by: bthayer on Feb 21, 2009 6:04 AM

  • How do you import a .png file into the Final Cut Pro X and at the same time keep the file's original transparency settings?

    How do you import a .png file into the Final Cut Pro X and at the same time keep the file's original transparency settings?

    Go to the Info inspector for the still image and in settings select the alpha type.

  • How to open PDF file with the view I wish without many clicks

    I am getting many many scanned files daily and I'd like to able to skim thru each file as fast as possible.
    Since the way each file scanned is consistent, when I open it, I am clicking a button to rotate it counterclock, then click zoom-in a few times to be able to read the top portion to see if the file is of my interest.
    Can we customize the way the files are opened?  I wish that once I open it, it will be rotated (so that I don't have to tilt head to read it), and zoom in big enough for me to read it.
    I did try (I am new to this) "accessabitly settup assistant", but couldn't achieve my desired effect.
    Any suggestions?
    thanks.
    JQ

    Thank you for the suggestions. Appreciated it.
    Actually when I asked whether they could scan it differently, I was told "no" for that type of scanner they have, and they have been reading it the same way as I just start to do, for years.
    Maybe someone knows about what scanners have the feature to do these tricks?
    I tried the preference setting. It's still less manageable. However, I manage to be able to click 3 buttons to get to the top portion to be readable.
    First, I rotate it counterclock (which mess up the view zoom in setting preference).
    Then I click to "show one page" button;
    Then I clcik to make the document to fill the width. (at this point, the zoom in is about 79%).

  • Unable to open PNG files "not the right kind of document"

    I just noticed this error today when I tried to open several PNG files, some of which I created with Photoshop: "Could not complete your request because it is not the right kind of document".
    I'm running Photoshop 9.0.2 on Windows XP Pro. Opening other file types (gif, jpg) works fine. I also noticed that in the save as dialog box that PNG is not a listed file type.

    PNG certainly is listed as a file type. I have saved many of them using Save As, many quite recently, using PSCS3; and I just did a couple in PSCS2. Here's the Save As box in PSCS2 with an 8-bit flattened image being saved as PNG:
    <br />
    <a href="http://www.pixentral.com/show.php?picture=1PSNAANh2tPbX1MMDLjmQLbHFqm91" /></a>
    <img alt="Picture hosted by Pixentral" src="http://www.pixentral.com/hosted/1PSNAANh2tPbX1MMDLjmQLbHFqm91_thumb.png" border="0" />
    <br />And here's the Save As box in CS2 with a 16-bit layered image being saved as PNG:
    <br />
    <a href="http://www.pixentral.com/show.php?picture=145dp6qArIbj9k8JG23J1jGojM4imR1" /></a>
    <img alt="Picture hosted by Pixentral" src="http://www.pixentral.com/hosted/145dp6qArIbj9k8JG23J1jGojM4imR1_thumb.png" border="0" />
    <br />
    <br />Both PNG images opened properly. The second one opened as 16-bit, flattened (layers aren't preserved in PNG).
    <br />
    <br />And both of the above images were Saved As PNG from PSCS2, also.

  • Blank PNG Files in the ePub3 container are to large for publication in the Apple iBookstore

    Hello i need your help - asap
    Fix layout ePub3 export from ID
    ID: newest version
    Siteformat: IPad Standard
    Export: for IPAD
    Picture format: PNG 150dpi
    largest pictures in my publication are 1536x2048 pix
    After uploading the ebook to the apple store i will have the ERROR ITMS-9000 - Images to large - more than 3,200,00 pixels are not allowed.
    So - i locked into the ePub-container and there are so many blank png-files - with a file format of 1600x2144 pix
    That the same size of the images of my book when I export it as JPG-Files.
    Cant find the Error in my document.
    The name of the blank mpg-files are 234.png / 2341.png / 23410.png etc.
    how can help?
    all the best
    Friedhelm

    Adobe i thing you have a problem. - But i thing also my problem is that i used ID for the JOB.
    Here the first result of a short test.
    clear ID-Doc iPAD format 768 x 1024
    placed a small square on a blank page.
    Export as FIX ePub3 with PNG 150dpi.
    rename the pub-file and extracted it
    found 2 PNGs in OEBPS/image/
    my black square als 221.PNG 180x180 pix and a PNG file called 206.png with the square in the middle and this file has1600 x 2133 pix 
    So i did a job to create and bild up an ebook with more than 80 pages - work more than 5 days on the project - and now this!
    I can´t publish the ebook to the itunes store.
    Not a happy about this.

  • Take screenshot and saves the image to a PNG file

    Hello,
    How can I take screenshot and save the image to a PNG file?
    thanks,
    Avivit.
    Solved!
    Go to Solution.

    this is a quite reproducible problem. Some more clarification on my part might help:
    I have a loop that contains, among other this, (1) a sub-VI that prints-screen and saves as a png and (2) a sub-VI that emails me the png file as an attachment. The 1st sub-VI simply uses the user32.dll to simulate a print-screen key stroke, calls clipbpard get image, and then formats and saves the image to a png file using the built-in VI write-to-png. This loop should update this same png file, because the path does not change. However, I've noticed that while the loop is running the png file does not update. It simply keeps sending the 1st image it took. The image updates if the VI stops and is run again. I assumed the problem was either with the clipboard not updating or the file not writing.
    I think the png file remains open while the main VI (i.e. this loop) runs because I cannot delete the file while the VI is running, only once it stops or is quit. Windows gives me an error that the file is currently in use by labview. Therefore, I think the file is not updated because it remains open.
    I've attached the print screen VI. Feel free to stick it in a loop and give it a try if you don't spot something obviously wrong. I did not include the main-VI that I actually use since it contains a lot of instrument I/O, which would prevent someone testing the VI.
    Attachments:
    PrintScreen.vi ‏18 KB

  • How do I tell the installer to put my html help files in the helpdir symbolic location?

    I used the File>>Print function to create an HTML help file for my application and specified in the VI Properties for the app to use <helpdir>:\ApplicationHelp.HTML as the Help Path. This should pop up the help file when a user selects "Help for This VI" from my custom menu. It works from my development directory because I installed the help files into the help directory manually, but I can't figure out how the get the installer to put the files in the correct location on the target system.  I tried putting them in [LabVIEW 2010 Help] in the Destination View for the Source Files category, but that didn't work.  Anyone know the right way to do this?

    kgarrett88 wrote:
    Hey MrSmith, 
    In LabVIEW 2010 SP1, if open the Project and right click My Computer, you can add the help file as a source. After you have added this file, you can then create an installer. Under the Destination header, you can add your desired destination path. After you have done that, you can go to the Source Files header and add the help file to that destination you created. 
    Hope this helps. Good luck with your application!
    ~kgarrett
    Thank you for the reply! I had already done the steps you suggested, so let me put up some screen shots that should help you understand my issue better. First, I specified the path to the help information on the Documentation screen of the applications Properties:
    Next I had added all the help files (DetectorFT.html and all the .png files) to the source in a virtual folder I named Resources.
    Next, for the release build I specified the files to be Always Included on the Source Files header.
    Next I created a Resource Directory as a destination for the release build.
    Then I specified the Resource directory as the destination for the files for the Release build.
    After creating the Release build, I created an Installer build and told it on the SOurce Files screen to put the help files into the [LabVIEW 2010 Help] directory.
    I had assumed that putting the files in the [LabVIEW 2010 Help] destination would put them into the correct directory when the installer ran.  When I ran the installer on the target system, the ran the application I tried to select the "Help for This VI" tab on the menu, but it was grayed out indicating it could not find the file in the proper location.  So the question I have is, what IS the proper location for the files to be installed to so the the application will find the Help files when it is looking for them at the <helpdir> Symbolic Path location? Thanks again!
    Jim Smith

  • Opening PNG files in Batch Processing, Elements 9

    I shoot in RAW and save my edited photos in PNG format.
    If I try to use Elements 9 to batch-process of folder full of PNGs (source>browse), I can see them listed in the open menu, but grayed out. Elements says "The source folder you have selected is empty." Remember, I can SEE the list of PNG files in this view.
    If I save my photos in TIFF format and put them in the very same folder, Elements will recognize them and batch-process them without any problem.
    Anybody know what's going on? If any program should recognize Adobe's own PNG format, it should be Elements.
    I'm running a Mac with OSX 10.6.7.

    Check your settings - see my example screenshot.
    The file size will be determined by a combination of the pixel dimensions, resolution and quality.
    Resolution makes a big difference. 72 is fine for web use or viewing on a computer monitor but between 240 and 300 dpi is necessary for printing.

  • TouchSmart Photo App and Support for PNG files?

    Please, somebody tell me that I'm crazy and that the TouchSmart Photo app really can be made to support PNG file types! If not, who designed this software!? Can't browse the network for content stored on an HP MediaSmart Server. Can't view PNG files in the Photo application. What else can't this software do!?

    Hi ChrisT,
    Thanks for the suggestion. I went to:
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4063&lc=en&cc=us&dlc=en&sw_lang=&product=4148...
    Which is the software update page for my model. I see 10 items under Software Solutions, 8 of which are just video tutorial updates, not actual application updates (and none of those are for the Photo App). The two application updates are:
    HP TouchSmart Recipe Box Application Update
    HP Support Assistant Application Update
    So, are you saying that PNG file types are supported in some versions of the Photo App and I don't have the correct version? Or in other words, what am I missing?
    Cheers,
    D

  • FCE 4 Problem: Color bar thru the Viewer

    I just upgraded to FCE4 and have found two annoyances already....
    1)I get a horizontal color bar running thru the middle of the image in the viewer. It's mostly an aqua color but there are shades of other colors in it (which vary from image to image). Is this some sort of new feature or is something wrong here. I sure can't see (or imagine) any purpose to it. I did two installs -- on an iMac and a MacBook Pro -- and the problem is only showing up on the iMac.
    2) The controls seem very different... In 3.5 you could right click on a clip to cut it from the timeline. Can't do that now. Are the controls really that different from 3.0 & 3.5, or is this another glitch?
    As long as I'm asking questions... Anyone got a good text/manual to recommend? It's feeling like I need to re-learn how to use FCE. I wouldn't have expected an upgrade to be so different from the earlier version (eg, right clicking to cut and paste clips should have stayed unchanged, in my book).
    Thanks for any help you care to offer..

    Tom,
    Thanks for your response. Here's a screenshot...
    http://bp3.blogger.com/_GjFJqLYOsHk/SFkdJVij1wI/AAAAAAAAAB4/THLT-fZ41v4/s1600-h/ Picture+1.png
    I've also deleted FCE4 from the HD (also deleting the plist file and the project file) and reinstalled it; after importing the same files, I get the same result. Other things I've noticed...
    1) If I import the same files into FCE4 on my MacBookPro I have no problem.
    2) Once I drop the file from the Viewer onto the timeline, and then re-open it in th Viewer from the timeline, the color bar is gone.
    3) The color bar is not showing up in the Canvas or the icons on the Timeline.
    4) If I import the same files into FCE 3.5.1, I have no problem. (BTW, I'm back to using 3.5.1 until I receive my copy of your book.)
    So the imported files are not corrupt; the problem is somewhere else. Or maybe I'm just missing something obvious (well, it'd have to be less than obvious).
    Thanks for any thoughts you may have,
    Seismo

  • How to create a swatch library from multiple png files?

    Illustrator CC
    I am having a difficult time trying to create a new swatch libray of patterns from multiple png files. The way I am doing this is very slow and repetitive and seems silly for a tool as advanced as the latest CC suite including illustrator.
    What it seems I must do is open all the png files in Illustrator, creating multiple workspaces, drag one png file into the swatch window, then save that window as a library, close the existing window to reveal the next png file, open the user library I just created, drag the next image into the currently active swatch window, then drag the previous swatch/s from the user library into the current active swatch window, resave and replace the user defined swatch library (now with two images in there)fromthe updated current active swatch panel/window, close the existing workspace to reveal the next image file, and then repeat the process again, slowly building the user defined swatch library up by adding one image at a time and then adding back into the Swatch panel the previously built up library of swatches again one at at time.  (you can select all from the existing  user defined library and drag over into swatch panel, but this creates at least one  duplicate on each cycle for as soon as you click on the first swatch in the library, it adds itto the current swatch panel and then when you select all swatches to drag across it includes the first swatch and copies it again)
    This is a very slow process to build up a swatch library. For some reason you cannot drag swatches directly into  the user defined library you have created, only into the active swatch window for each workspace. I searched the web and forums  for answers but could find none. There must be an easier way,  just can't find it.
    Ideally, the best option would be a swatch window  option that allows the import directly from a list of selected files in the finder.
    Any ideas out there?

    Monika,
    Thank you for responding, however I am not exactly clear on what you mean by "libraries are plain AI files". For example, I cannot find a file with the same name as my user defined library name that I have created. I can find the preinstalled swatches listed under Adobe Application Support... Library... Swatches, but a user defined folder is not present and the library sets that I have already created are not visible. I have tried searcing my Mac for a (name).ase file and still no luck (at least for the name I was looking for). I can open the user defined library from the Swatch library icon on the bottom left of the Swatch panel, but when I open this I cannot drag and drop add new swatches directly to this library. As stated above, I have to add each pattern, one at at time to the normal swatch panel, then add back the previous ones I have saved from the user defined library to the swatch panel and then save threm all as an updated user defined library. Thus by repeating this process, it builds up the user defined library one at a time.
    I am using Illustrator CC if this makes a difference.

  • PNG files sent to iphone Photo App do not appear on 'date taken' (manually added in windows explorer)

    I have over 1000 PNG files that do not have exif 'date taken'. They only have exif 'date created or modified'
    The 'date created/modified' is not the actual date that I took the screen shots.
    I added the 'date taken' manually in windows explorer. However, it seems that this does not write this data into the exif 'date taken' which remains blank.
    When I transfer the PNG file from the PC to IPhone Photo App, it does not appear on the 'date taken' (that I added manually) but appears on the exif 'date created or modified'.
    Interestingly, when I do same as above but with JPG file, it does show up correctly based on the 'date taken' (that I added manually in windows explorer).
    So I converted the PNG file to JPG using one of the online tools. However, when I do this, the converted file does not retain the 'date taken'.
    I can fix the above by:
    1.  Use Paint to save the PNG file as JPG; this retains the 'date taken' but this is not the solution I am looking for as I would need to do this for each file (there is no bulk 'save as' in Paint)
    2. Use a file conversion tool to bulk convert from PNG to JPG; but again this is not solution, as I would have to manually add the 'date taken' in windows explorer to each JPG file
    Alternatively, I tried to rename the file name to include the 'date taken' and then use an exif date changer app to set the xhif dates based on file name.
    However, I was not able to find any software that would allow me to do this. The software that I have seen only picks up the 'date taken' from file EXIF data. But in my case there is no such data in the file - only the 'date taken' that I manually added in Windows Explorer.
    Any advice is appreciated. All I want to do is transfer PNG files from PC to Iphone Photo app and have these files appear in Photo app based on the 'date taken' (the one I manually added in windows - not the date taken in exif data).

    Have you touched the "More" button (on the iPhone).
    then gone to Audio Books.
    Are they there?
    I had an audio book still on my iphone, it survivedf the iOS5 update.
    To get rid of it, I plugged iPhone into Mac,
    Go to itunes.
    Click on Iphone in iTunes.
    Go to Books tab,
    Scroll down, there is audio books.
    Choose sync selected audio books,
    And untick the ones I don;t want.
    Dows this work for you?

Maybe you are looking for

  • Can't find music that is supposed to be available

    I don't know if I'm losing my mind, but two weeks ago when I did a search in the iTunes Music Store for Frank Zappa, about 20 different albums came up that were available for purchase. Yesterday when I went in to download some of this music, the sear

  • Need Help Adding Music to Slide Show - PS Elements 11

    I am using PS Elements 11 to create a slide show. The photos and transitions are complete. But when I try to add music in an mp3 format, the songs are there but the text for the songs does not appear in the bar below the photos in the slide show revi

  • What is G/L Account

    Hi,       i am BI consultant.i want to know what is G/L Account,vendor,account payable,recievable,cash forward,accumalted balance,balance carry forward,balance of prior periods........... can any one help me................

  • Access System mapped id pswd in WEB DYNPRO appln ???????

    Hello All, I have created a Web Dynpro application where in I need to access the system mapped id and password in my Web Dynpro code The code is as follows - String sysalias = "SAP_Reference_System"; try { IWDClientUser clientUser = WDClientUser.getC

  • Include a BOOLEAN COLUMN TO MY JTABLE

    Hi there, I have been reading a trying to understand how can I include a BOOLEAN column to my promgram but it it pretty hard, anybody can help me to do this change, just i'm using SQL to populate this JTABLE and I'm using this code: I need add my BOO