Saving in gif, tif, bitmap or graphical format

how do i save canvas drawing in a graphical format like gif, tif, bitmap, etc. I have been trying to research it and have not found any definites on how to do this... can it be done directly through java or is a special tool needed? I do not want to save as jpeg because information is lost through jpeg for this particular kind of program. Please help.

no, i am not looking to draw a gif image or import from a url. I have drawn an image(edges, circles, and rectangles) using graphics on a canvas. Now, what I want to do is save it ina gif/tif/ or other graphical format other than jpeg and be able to open it in programs like photoshop, etc. thanks
Image me;
me = getImage(getCodeBase(), "myPicture.gif");
g. drawImage(me, 0, 0, this);
Are you looking for this ?
Or load the image from an URL.

Similar Messages

  • How to register "GIF" graphic format

    Hi guys;
    In my java application , i need to check if the "GIF" graphic format
    is registred on my machine registery. If it is not the program should
    register this format.I don't have any knowledge how to deal with
    System registry using java.can any one tell me how to implement
    this functionality ?
    I would appreciate a lot any sample source code.
    Thanks for helping!
    -othman.

    An "export filter" strongly suggests an add-on,just
    like wordperfect addons for MS Word. And if thatis
    the case then you are not going to be changing the
    registry to add it because that is not all that is
    needed. You would actually need to installsomething.
    you are right ! i think this is the issue...when doin
    a custom powerpoint installation you choose whih
    filter format to support...I'm not sure if GIF will
    always be there !
    what to do if i have this problem ?
    thanksSeveral choices...
    1. You check the registry. If if the expected value isn't there you tell the user to install it. Don't attempt to do what you want until it is there. This is somewhat problematic because the registry might change with different versions of power point.
    2. Use autoit (google it) to automate the install process. Rather problematic for a number of reasons including that the user might not what to do that, or the user might not have the disks right then or the install changed and your autoit script does't work. And of course autoit has to be installed.
    3. Check the registry and don't even start if the registry entry isn't there. In the documentation for you app make it clear that this is what will happen.

  • Acrobat 9.4.2 does not save/export all graphic formats

    Dear all,
    Obviously i had my glass of wine to early! See http://forums.adobe.com/thread/798630 for the whole story of my re-re-re-istallation of Acrobat.
    The installation of 9.0 from the TCS2 DVD was OK
    After update to 9.2 my tests displayed correct results for all desired tasks
    After the update to 9.4.2 i obviously did not test thoroughly enough (hence the glass of whine).
    Later it turned out that 9.4.2 does not save/export graphic formats:
    pdf (all flavours), eps and ps are exported correctly
    html (all flavours) export a html file and the image as jpg correctly
    jpg, jp2 does not save anything, and no error message gives a hint
    doc, rtf save issue error message "Save As failed to process this document. No file has been created"
    png and tif do not save anything, and no error message gives a hint
    xml table and xml export correctly
    txt (both flavours) are exported correctly
    Hence the only method i can get a picture is to export as HTML and through away the HTML... or: enlarge the picture as much as possible on the screen and take a screen shot.
    What is missing in this installation?
    During my re-re-re-installtions some Windows updates may have happened.
    Any help available for this issue?
    Klaus Daub e

    The story goes on and hopefully Adobe has an answer/fix for this
    There was an automatic update from 9.4.2 to 9.4.3, but the problem still existed.
    So I decided to uninstall Acrobat and re-install it for the nth time: start with the installation of 9.0 from TCS2, reboot, update to 9.2, reboot, update to 9.4.3 and reboot again.
    The result is very mixed (and this was alrady with the newly installed 9.0):
    Save as RTF or DOC creates RTF and DOC files - although the contents is not that useful.
    Save as PNG is OK
    Save as JPG, JP2 or TIF works, but it turns out, that the files are all PNG (although with the various extensions)!
    Creating a snapshot now works correctly. The clipboard receives a bitmap. However: although I have set the preferences for the snapshot to be of 96 dpi the bitmap gets the property 72 dpi!
    Setting acrobat.exe to be Compatible to XP SP3 does not change a jota.
    Keep in mind: on Windows XP things worked correctly for a long time. Switching to Window 7, x64 creates this strange problem.
    I need to start with Acrobat from the TCS2 DVD, because otherwise I do not get the correct implementation for working with FrameMaker.
    I'm very reluctant to buy Acrobat X, for me there are too many gimmics there (besides the costs).
    Klaus Daube

  • Labwindows/cvi graphic format

    Hi,
    Does anyone know how to convert an IntensityPlot to a graphical format known
    by Word (e.g.pcx, tif, bmp, jpg,...)
    thank you in advance.
    Bjorn

    Hi,
    there are two pssibilities:
    CVI includes functions to get panels, graphs as memory bitmaps and it is fairly
    simple to make it into a bmp and write it to a file.
    Another possibility we used is to print panels to a temporary file using for
    example a postscript printer driver. Then you get a nice mixture of vector
    graphics elements (for the labels, grids etc.) and bitimages.
    Dieter
    Bjorn schrieb:
    > Hi,
    >
    > Does anyone know how to convert an IntensityPlot to a graphical format known
    > by Word (e.g.pcx, tif, bmp, jpg,...)
    > thank you in advance.
    > Bjorn
    Attachments:
    dieter.vcf ‏1 KB

  • Graphics format options in Save As HTML?

    I'm using FrameMaker 8.0 independently (not as part of the TCS), on Windows XP.
    I'm creating HTML files from the FrameMaker files by choosing the "Save As" option and then choosing HTML. This always saves the images in the file in the .gif format. I would like them to be saved in Windows .bmp format. Currently, my workaround is to replace the .gif files with the original .bmp files, and then tweak the HTML code to refer to the .bmp files. This works, but it's time-consuming.
    I don't see any option in the FM preferences or anywhere else, to select an output format for images. Is there a way to do this?
    (As an aside, can this be done easily in the Tech Comm Suite?)
    Thanks,
    Joyce Wermont

    Joyce,
    I have not worked with saving Frame files as HTML, so I do not know what resolution the images are saved in. However, the gif format has no restriction on resolution, though some applications may assume it to be 72 dpi (not sure about this).
    Anyway, you can open your bmp files in Photoshop or some other image editor, and save them as gif with the same resolution as the bmp files. Because gif is limited to 256 colors, I suggest converting the bmp files to indexed color before saving as gif. You can replace the gif files created with Frame with the ones you create from Photoshop, using the same names, and the HTML will see them. If the HTML displays them largish, you can set the sizes in the HTML code.
    Van

  • Can You Convert Pages Templates to Graphic Format, i.e. jpg, tiff, bmp?

    I created a flyer from the templates and would like to convert it to a jpg or other graphic format so I can add it to my photo library, add to a slideshow and publish on MobileMe. Is this possible?
    MacBook Pro / Leopard / IWork 08

    Hi Ronda,
    Welcome to the discussions. You can do the conversion using a combination of Pages and a system application on your computer called Preview.app. Easy to do.
    You're going to Print to PDF and then Save As from Preview to the graphic format of your choice.
    Select File > Print in Pages.
    In the lower left corner click on PDF and select Save As PDF in the menu that appears. Saving to the Desktop is convenient at this point.
    Right click on the document and select Open With... Preview.
    From Preview, select File > Save As and choose your graphic format from the Format menu at the bottom of the Expanded Save As menu.
    This should do it for you. It's not as complicated as it sounds and you will begin to enjoy using the many features of Preview.
    Regards,
    Jerry

  • Opening an XML Plan File to Graphical Format in SSMS

    Here is the BOL link on saving & loading .xmlplan files:
    http://technet.microsoft.com/en-us/library/ms190646.aspx
    I renamed the downloaded xml file in the following thread to .xmlplan. Still it opens up in XML mode, not in graphics:
    http://social.msdn.microsoft.com/Forums/en-US/f5aa97f2-ee39-4f4c-b190-5e3dd25adbfc/hierarchyid-indexingperformance?forum=transactsql
    https://www.dropbox.com/s/mmjthlfryvsr4l4/Execution%20plan.xml
    Thanks.
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

    Hello Kalman,
    I changed the file extension from .xml to .sqlplan then the XML plan is displayed in graphics format in SSMS 2014 CTP2 without any problem
    Are you using .xmlplan ? It might be the problem, .sqlplan works successfully.
    SQL Server, SQL Server 2012 Denali and T-SQL Tutorials

  • ImageObserver, Printing, and saving as GIF

    My application has a page containing photos (images). Not all of these can be seen without paging down.
    When rendering on the screen, I use graphics.drawImage( ... ), which returns immediately and uses the ImageObserver interface to update the screen as more of the image arrives.
    When printing to paper, by some 'magic', the whole image is rendered, even if it was not previously shown on the screen. I suspect that drawImage( ) somehow waits until the whole image is available, before it returns. I may be completely wrong here.
    My problem is that I also want to save the images as GIFs. I create an off screen bufferedImage, and render them to that. The trouble is, if they have not yet been shown on screen, graphics.drawImage( ) is returning immediately, and I end up saving a GIF with no picture in it. This all takes place on a background thread.
    Does anyone know any 'magic' that I can use, to tell drawImage that it is ok to wait until the whole image arrives?

    You need to implement your own ImageObserver that will wait till it infoflags will have ALLBITS set and then draw ImageContent to BufferedImage (and print it).
    Use Toolkit.getImage() and Toolkit.preprateImage() to trigger image load.
    Some subtle things:
    1) Do not use Toolkit.createImage() because it will not use cahced copy of image and will trigger new download
    2) prepareImage may return true if image is already prepared. Then observer will be never called.
    Check for return code and call it explicitly.
    Alternatively you may simply use ImageIO to load image for printing. This is very straightforward and ImageIO has generally better support for images. However, there is no way to reuse copy of image that was loaded for display, it will always load it again.

  • Problem Saving Gererating GIF Image

    Hello, we are having a problem in production environment when try to right mouse and select Print on an mii grid. Works just fine in all of our non-production environments. Checked the System Security pull downs and they all matched non-prod. Was not sure which one to compare, was not a ImageStorageServlet on pull down menu.
    After right mouse and select Print on grid, get:
    -Java Applet Window popup message - Problem Saving Gererating GIF Image
    -Then - blank browser page - .../XMII/ImageStorageServlet/View/null
    - Non-production servers works fine produces grid on browser page - XMII/ImageStorageServlet/View/2084280301
    NetWeaver Log:
    Location - com.sap.xmii.servlet.ImageStorageServlet
    Full Message Text
    ImageStorage - Error saving GIF file 
    Full Message Text
    ImageStorage - Error generating GIF output
    Any help would be appreciated.
    Thanks

    David,
    Have you put in a support ticket for this? I recommend doing so since its occurring in your production environment. You should also attach your log files as well.
    Regards,
    Kevin

  • Why are videos saved as gif's slow when viewed in browsers?

    i can never find an answer to this, an seeing as how CS4 just came out, but is still giving me this issue there must be something new that i dont know about.
    i play back the video in CS4 and its blazingly fast, faster than the actual video, i save the video as a gif, an when i preview it using the microsoft image previewer it plays back at normal speed just like the original video, but everytime i preview in a browser(IE8, FF3, Opera) they all show it running very slow, even after the video is fully loaded.
    the only solution i know is to reduce the amount of frames to load when i first open the video but that makes the video look very choppy and not smooth.
    ive seen gifs around the net that are very large(over 300px hight/width) and run at real time speed, but i dont know of any other program that allows you to import video and turn it into animated gifs.
    please help.

    GIF is not a video format.
    If something plays back faster than the original video (and then slower in a browser) then you have discovered just one of the faults of trying to produce video in a GIF file.
    Use a proper video format.

  • Print preview in abap list format (OMLV) - Need preview in graphical format

    Dear All
    I am facing a problem with the print preview. (transaction code OMLV)
    When i am clicking on print preview button the system is displaying the output in a ABAP list format.
    and also the printout shows only the ABAP content.
    Pl. advise on how to view the print preview in a graphical format and not in the ABAP list format and pl. let me know the setting to print the spool in the graphical format.
    Thanks,
    Maxx

    Hi,
    this problem is not only related to warehouse. even the print preview spool for GR/GI slip in t-code SP01 shows as ABAP list and not as graphical screen.
    my question is why does the system shows the print preview for spool as an ABAP list instead of graphical view.
    pl. advise
    Thanks,
    Maxx

  • Excel 2013 save as JPG/PNG graphic format?

    Dear All,
      For Excel 2013, is it possibe to save the sheet in JPG or PNG graphic file?

    Hi,
    Currently, Excel 2013 doesn't have the ability to save a sheet as an image.
    The simplest way to accomplish this is to select and copy the worksheet cells containing the data, chart, etc. you want to save as an image (turn off grid lines if you don’t want them too), then paste it into your graphics editor, say Microsoft Paint.
    Now you will be able to save it as any graphic formats as you want by using
    Save as feature in Microsoft Paint.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • After Effects saving as .GIF

    Hey guys! I just downloaded After Effects after I saw some cool tutorials, and I made a cool project for my website. But, the thing is, I'm having some technical issues. I need that project to be saved as .GIF, and the animation must repeat only once, not infinitely as other .GIF do. I can transform any movie to a .GIF that repeats only once using Camtasia Studio, but here's the problem, what movie extension can keep the transparency I want on my .GIF borders? I don't want a .GIF with black corners. If I save it as a PNG Sequence, I can't set the time I want between frames in Camtasia Studio. I know it's hard to understand cuz I suck at explaining stuff. Can you help me please? I don't have any idea what to do. After Effects can't save it as .GIF.

    Hi Guys,
    Im having the same thing but the problem is, i dont have photoshop! the only photo editing program i have is Serif photoplus x4. could i do it with this?
    thanks

  • When I saved an Illustrator CS6 file to EPS format, I got "could not complete the requested operation. unknown error."

    When I saved an Illustrator CS6 file to EPS format, I got "could not complete the requested operation. unknown error."
    Google it and find some temp fix. run the illustrator by using "Run as admin" mode and fix the problem, but when use run as, can't see all the original user's mapping drives.
    So still need it fixed.

    It is win 7 64 bit system and same error on Illustrator x86 and x64.

  • Graphic format vs. tabular format

    Hi Guys,
    In SC we have an option to display the approval preview document either as graphic format or tabular format. Once we click on 'Approval Preview' automatically graphic format opens.
    My client does not want graphic format as it takes time. 1> Is there a way by which I can default Tabular format.
    2> Is there a way by which I can see the Tabular format on SC screen without haveing to click on 'Approval Preview'?
    Thanks
    Debashish

    hi,
       You can modify the service "BBP_PREVIEW" acc to your requirements.
    BR,
    Disha.
    Pls reward points for helpful answers.

Maybe you are looking for

  • Had to buy NEW HP due to Lexmark will not support Leopard

    I purchased a new HP PSC7280 due to the fact that LEXMARK tech support sent me an email stating that they will not support LEOPARD on my printer and X9350 (top of the line consumer product for lexmark) even though they state on their website they sho

  • Text is pasting as an object when I want it as text

    When I paste some blocks of text from a web page into Pages '09 they appear as objects. I know I can switch an object between inline and floating, but I don't want the text as an object at all - just conventional text, formatted or not, whatever work

  • Permissions denied when trying to get a BCC project programatically...

    Hi, I wrote a servlet that extends atg.servlet.GenericServletService and in the service method, I am resolving the ATG component that is trying to query a BCC project with the given project Id. The control is getting passed successfully to the ATG co

  • Picture in Picture or the like of, possible?

    I have the latest version of both iMovie and Final Cut Express HD. I enjoy making videos and often do so for my church, school, etc. I was using Cyberlink PowerDirector on Windows and Pinnacle 8. On those programs you can layer videos and photos to c

  • LiquidData with MySQL

    Hello, I want to use a MySQL Database in Liquid Data. I deployed a ConnectionPool and a DataSource, I also managed to set up the LD Datasource (with relational database tab). Wenn I startup the Data View Builder, I can see my new LD Datasource and it