Saving a Jpanel as a jpg file

Hi everyone,
First of all, I've searched for a solution to this problem throughout the forum, but somehow I never got the result I would like to have to. The problem is, I work with components (JtextArea's) that can be put on the jpanel, and images and other shapes that are drawn on the panel as well. (via the Graphics.drawImage()/drawRectangle() etc methods) All shapes and JTextArea components should be visible on the jpg file. (When I tried out some samples that I found on this forum, only one of them was visible) Can someone give me some code how I can do this, I've been looking for days now to find a solution, so I would be very grateful if someone could help me!!
Thanks in advance!!!
Plunofix

Hi Michael,
It worked. Thank you very much. This forum rules :-)
Regards,
Plunofix

Similar Messages

  • Adding EXIF standards back into a JPG file using Photoshop

    Can anyone tell me how this is done?
    I'm trying to get photos (JPG files) I've edited in Photoshop and placed on an SD card to display on a Panasonic plasma television (TC-P42X1). The televison will only recognize JPG files with DCF or EXIF standards in tact. I'm assuming photos taken with a digital camera (unedited) already build in these stanards, as those photos view just fine. I'm also assuming that Photoshop strips the JPG file of these standards since the error I'm getting is "Cannot Read" with edited images.
    Of course Panasonic says, "It's an Adobe issue." Adobe would probably tell me "It's a Panasonic issue." Neither of those answers help solve my problem.
    Here is what I've tried so far, with little to no luck. Using Photoshop, I've opened an image, gone to File/File Info (given the photo a description), selected "OK" and saved the image as a JPG file (did not use the "Save for Web" path). This has gotten me a step closer. Now I can see a thumbnail image on the television when in menu view, but it still says, "Cannon Read" when trying to view the images with the slide show option. Does anyone know the trick is using Photoshop to correct this issue? I'm open to other options as well.
    Thank you in advance to anyone willing to help solve this problem!!!

    Try this possible workaround:
    1.— Take your original file (before any edits) and duplicate it.
    2.— Work on the duplicate (exact clone) only.  Do all your Photoshop edits to your heart's content.  (Optional step: save the file, but don't close it so you don't compress the JPEG and deteriorate its quality.)  Do a select all (Command+A on the Mac, Control+A on Windows) to select the entire pixel content of the duplicate, and COPY that.  Now you have your edited image on your clipboard.
    3.— Open the original file, and do a select all on it, but don't copy that!  Instead, DELETE all the pixel content of the original.  Now you have a blank image with only the metadata of the original.
    4.— Paste the contents of your clipboard (the pixels of the edited clone) into the blank original.  Save.
    With any luck, you'll have the edited pixels with the metadata of the original.
    It should work, but there are no guarantees.

  • Is it possible when saving the psd file to have an automatic jpg file saved at the same time?

    My work involves preparing images for printing lightboxes and window installations.  My clients require to pre-approve the photos before printing.
    I usually save my files as psd but since the files are very large in this format I usually save another copy as a jpg file that has a much smaller file size.  This makes it possible for me to add these to a presentation and and send them to my client.
    Is it possible when saving the psd file to have an automatic jpg file saved at the same time?  Or do I still have to do this manually?

    If you save the document manually as a PSD file in Phtoshop not from within an Action, Script, Plugin or Droplette.  You may be able to write a Photoshop that would do as save as Jpeg,  And you should be able trigger its execution by setting up a Script Save event using the Script event manager.  When You do a manual save  the script should be triggered.  I wrote may be able to for I have never tried to write that script or set up a Script Manager Save event.  I have only use open events.

  • Can we start a relatively elementary thread about the quality level of a saved .jpg file and its relation to camera resolution settings, if any?

    My daughter has thousands of photos shot with a maximum resolution setting on her camera, each one occupying an approximately 4 MB file and apparently capable of generating a quality 32x48 print -- clearly a case of overkill.  I think she's doing it because she thinks it will maximize print quality.  I know it's exhausting our disk space.
    In PSE9, I've taken a sample .jpg file (4 MB) and saved it as three .jpg files: at maximum quality (5.2 MB), 50% quality (934 KB), and minimum quality (359 KB).  Note that the minimum quality file represents a 90% reduction in disk space! Then for each of these four sizes, I printed it on letter-size plain paper, and again on 4x6 photo paper.  They looked identical to me.  I asked her to compare them (she did not know which photos had which quality) and with her calibrated eyeballs she thought that the minimum quality was a bit more "pixellated".
    I successfully experimented with the editor's "Process Multiple Files" to resize the photos and I am pleased with its performance on my iMac -- less than seven minutes to convert 197 photos.  As a further test,  I ran 5 photos four times: low-quality and high quality, each at 300 dpi and 600 dpi.  Again I saw no apparent difference between 300 dpi low and high quality on letter-size plain paper, but I was taken aback to see the 600 dpi print as approx. 4x6 in the center of the letter-size paper.  I took another look at the four of them in the PSE workplace, and sure enough, the 300 dpi files showed up approximately letter-sized and the 600 dpi files showed up as approximately 4x6.
    Obviously I'm dealing with apples and oranges here, and this is why I'd like to see some elementary-level conversation on this subject.

    Thanks for the hints, Lundberg. Google led to ImageJ. Rather difficult to understand what it does, but fun to play around with. Further reading led me to this statement:
    Another sinusoidal transform (i.e. transform with sinusoidal base functions) related to the DFT is the Discrete Cosine Transform (DCT).
    And since jpeg is based on the DCT I thought: simply compressing an image at jpeg and looking at the file size will probably give info re the sharpness of the image. At maximum jpeg setting, there was a significant reduction in file size for a particular image when I applied a Gaussian Blur. So all I have to do is work out how to relate the jpeg file size to the minimum acceptable resolution.
    Anyway, thanks for the suggestion.

  • Why are my RAW images grainy on some devices after saving as JPG files?

    I am new to the world of photography, so forgive me if my question is silly.
    I just recently started shooting in RAW format.  After editing my photos and saving them as JPG files, I am running into a problem.  When I view the image files on my computer, my iPad, or my iPhone, they look great.  I can even zoom in super close, and the images still retain amazing quality.  However, when I set them as a desktop background, they are SUPER grainy.  Here is an example.  I just took a screen grab of each one on my computer.  Here is the first one, which is the file itself when opened in Microsoft Office 2010.
    Here is the screen grab of the same exact same file when I set it as a background on my computer:
    Is this an issue with processing/editing/whatever the technical term may be?  Or, is this a computer display issue?  I could almost understand if the images were different files, but they are the same file.  Can anyone help me out?   I have a friend who wants me to take some photos for her this weekend, and I'm scared to shoot in RAW format for this reason, although I do enjoy the control I have over my images in that format.  I'm also scared to see what my photos look like when printed. 
    Thanks in advance!

    It’s really impossible to make a judgment from screen grabs. But how are you making the desktop background; ideally you should be using the original to make a re-sized image at the native resolution of your monitor.

  • When I attach a JPG file in my email and send it to a Windows friend they get the message "The file type being saved or retrieved has been blocked when they try to open it." Anyone know why and how to fix this problem?

    When I attach a JPG file in my email message and send it to a Windows friend they get the message "The file type being saved or retrieved has been blocked when they try to open it so that they can save it." Anyone know why and how to fix this problem?

    Your Windows friend should ask in a Windows forum why his email client won't open attached jpg files. We have no idea what email client he is using or how his Windows security is configured.

  • Can an InDesign page be saved as a jpg file for use in Photoshop CS5 ?

    Can an InDesign page be saved as a jpg file for use in Photoshop CS5 ?

    mckayk_777 wrote:
    Just wondering peter what you think, instead of output to pdf you copy and then create create new file in photoshop and paste into that file. Is that sort of the same thing?
    Seems to be ok especially if you enlarge the object before you copy it into photoshop.
    I think what you are pasting (never bothered to try this) is just the screen preview, hence the need to enlarge. Why would you waste your time doing that instead of exporting to a high-res PDF?
    If you want only part of the page, check out http://indesignsecrets.com/free-layout-zones-add-on-is-incredible-productivity-tool.php

  • Edited RAW files not saving as TIFF's or JPG's

    I thought working with RAW files in iPhoto 08 worked the same as it did in 06. I have lots of Nikon RAW (NEF) files from my 06 library that used to change to a JPG as soon as I finished editing them in iPhoto 06 or a tiff if I had that option selected in preferences. The RAW badge would go away and I would then see a JPG in my library.
    None of this happens in 08. I edit a RAW file, the changes look to be saved when I move to the next photo, but the RAW file remains with the RAW badge still showing. Can anyone tell me why this is happening?
    Thanks
    Joshua

    I also noticed something else and it looks like this issue is not only with RAW but JPG files as well. It seems like iPhoto is not finalizing the edit and saving the file. Even after closing the program you can return to those edited photos in edit mode and they look as if they are still in the middle of being edited. The level sliders still show the highlighted movement you made to them and you can still hit the shift key and see the before and after. So it seems like it's holding the changes made to the file but not following through and finalizing the changes and saving the file.

  • When saving files from the internet, why doesn't Firefox 'know' to put .jpg files in "Photos" and pdf files in "Documents"?

    When saving files from the internet, why doesn't Firefox 'know' to put .jpg files in "Photos" and pdf files in "Documents"? IE always saved photos in the "Photos" file and documents in the "Documents" file. Firefox makes me choose every time. Very annoying.

    How about if Firefox is programmed like IE in this ONE thing...
    When saving files from internet sources, if the file ends in a typical photo extension such as .jpg, .bmp, .tif etc. it defaults to save it in your PHOTOS folder.
    When saving anything like a .doc, .pdf etc. it defaults to save it to your DOCUMENTS.
    You could still change it to 'desktop' if that if really where you want all your photos and documents... or some other folder that you decide, but DEFAULTS to the LOGICAL folder.
    I have carpal tunnel SO bad that even typing this suggestion is painful and having to make the extra click along with moving the mouse EVERY time I want to save something is painful.
    ALSO, I shouldn't need a bunch of ADDONS to accomplish this. I tried downloading one and it did nothing. The problem still exists.

  • Capture time is not saved into JPG file! (LR 2.0)

    Hi,
    I have this JPG file with no EXIF data whatsoever but I know it's capture time so I went to Metadata » Edit Capture Time and changed the capture time. Now, on Lightroom in the Library module, I can see the capture time there and then I save the metadata with Metadata » Save Metadata to File. However, when I check the file on Windows Explorer, the capture time (or date taken as named by Windows) is not specified at all.
    Why isn't the "Save Metadata do File" working correctly?

    @William Porter
    I don't have that box checked but it shouldn't matter because I'm not talking about exporting new files to update the metadata. I'm talking about updating the files metadata within the files that are already added to the library.
    @Richard Earney
    That option was already checked from the beginning but it's not helping. That's exactly why I don't understand why this is not working.
    Maybe a bug on LR 2.0 Final?

  • How do I put one logo (saved as bmp or jpg file) on the form

    Hi !
    I have developed some forms and I want to put on the top of each
    form one logo, which is available both as bmp as well as jpg
    file.
    How do I do it ? Meaning which type of field do I need to store
    that logo and where all do I need to declare/define it ?
    Any help will be welcome...
    Shobhit
    null

    In the layout editor
    from the File menu import image
    select your file it will be added to the canvas
    no coding is required
    null

  • Saving JPG files in Photoshop Elements 10 - what size?

    I have used the raw converter to tweek my photos. I want to save file in Jpg format.
    Elements asks me what size I want to save:  Low, Medium, large, or maximum.
    I will use the Jpg files for printing either 4 x 6 or 8 x 10.
    What dictates the file size to use?

    For printing, you would want maximum quality.

  • Saving hotspots in JPG files...

    I am using PBWorks as a Wiki generator which has a limited graphics editor.  What it can do however is import JPG files.  So, using Photoshop (I have version CS3) I thought I could take a JPG photo, add hotspots to it and then save it as a JPG before uploading it to the Wiki system.  Then I could insert this JPG file into the appropriate part of the Web page (PBWorks generates). 
    Is this possible to do?  To date I have totally failed!

    Images do not contain any interaction. Clicking and linking is done strictly on the web end using HTML/ CSS/ JavaScript. If your editor doesn't allow to create image maps or you cannot upload a pre-authored HTML page, then there is nothing you can do, least of all in photoshop.
    Mylenium

  • Saving .jpg Files

    Recently when I go to save a .jpg file, the windows to define it never comes up, and the program hangs.  I can still save the file as a .gif file, and the proper popups appear and work. 
    Has there been a patch to windows 8 or Photoshop that may be causing this?
    If not, is there a setting I am overlooking?

    I wrote a simple program a few years ago in college for fun that would allow me to download lots of files from a website. You did need to know what the address of the content was however, and there is no error checking, so it will crash if it looks for a file that isn't there. I'm not sure if this is what you are looking for. It would help if all of the pictures were numbered in sequencial order. And it saves a close approximation to the original image. I think Java will recompress the JPG image.
    You can take a look at it here, copy the code into a file called JPGDownloader.java to compile and run:
    http://computing.net/programming/wwwboard/forum/5792.html

  • Error message: "Dreamweaver can't open .jpg files"

    I'm using DW 8, and I have installed the 8.0.2 update. I'm
    having trouble inserting certain JPG images into a site. I get an
    error message pop-up that states "Dreamweaver can't open .jpg
    files". It will allow me to insert some jpg files, but not all of
    them. I've tried drag & drop and going through the Insert menu.
    The files are not large at all. Doesn't appear to be any problem
    with png's or gif's. It's incredibly frustrating. Anyone have any
    suggestions? TIA.

    > why was i taught that all my web images need
    > to be in 72dpi if it doesn't really matter?
    most people suggest 72 because it was an old standard with
    the early
    macintosh DTP programs. For web use it's easier to
    standardize on it because
    when you make an image, you have to put ~some~ number in the
    resolution box
    and it might as well be 72 as any other number. It simplifies
    moving image
    files around in different applications if they are all the
    same resolution.
    For display in a browser, these will all have the same file
    size and display
    size in a web page:
    600x600 pixels at 1dpi
    600x600 pixels at 72dpi
    600x600 pixels at 6000dpi
    It's when they are used in other applications or when a
    direct url like
    /photos/1.jpg is printed out that they may display in the
    resolution, not
    the pixel dimension.
    I came across a page once where the designer always saved his
    images with a
    resolution of 6000 dpi or some other odd number because he
    thought that if
    people dragged the image off the page to save it- most of
    them wouldn't be
    able to resize it. or some other idiot reason maybe.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

Maybe you are looking for

  • I lose all my iTunes settings everytime I restart iTunes.

    For example, go to Edit Menu -> Open Preferences -> Check 'Group compilations when browsing' -> Save settings -> Save iTunes -> Restart iTunes after settings have been saved (can take a couple of minutes -> Go to Edit Menu -> Open Preferences -> 'Gro

  • HELP!!!!!-It all started when I updated Itunes

    Okay it seems to me that a lot of people are having this problem, but yet no one seems to have found a solution. I have downloaded the newest ITunes a couple of days ago. And then I tried to update my IPOD (20gb click wheel) and it continuly says "Do

  • Error when installing office 2013

    Hello, when installing office 2013 on a machine i receive this error. A repair of the registry didn`t fix the issue. Anybody with an option? Thx

  • Decoration​s - Draw a straight vertical line??

    LV 6.1 I want to add a vertical chiselled line to my front panel. When the lines is dropped, it's at 45°, but for the life of me I can't get the ****** thing to go exactly vertical or horizontal. Is there a trick to this? Cheers Joolz

  • The problem in the press by aperture3

    . .. Hi all begins by giving x apologize to all statements above the result of my mistake ... I had problems with 3 openings in newspapers and in creating books and depressed as I have to reinstall the older version, are now came the question ... wha