Re: Save an Image to a file



"Lee" <lskatz@xxxxxxxxx> wrote in message
news:1149990284.019332.319150@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Starting from an Image object, how would I save it to a jpeg or gif?
Is there an object or method to do this or is it complicated...?
Thanks!

Hi Lee,

Don't know whether or not you still need it, but here are two options for
saving an image to jpeg or gif.
http://jcsnippets.atspace.com/java/gui-graphics/create-thumbnail.html
http://jcsnippets.atspace.com/java/gui-graphics/create-thumbnail-with-option
s.html

Best regards,

JayCee
--
http://jcsnippets.atspace.com/
a collection of source code, tips and tricks


.



Relevant Pages

  • Re: What about JPEG, GIF, etc.!!
    ... The patent on GIF expired about two years ago. ... I think GDI+ supports both JPEG and GIF natively. ... Regards, ...
    (microsoft.public.vc.mfc)
  • Re: What about JPEG, GIF, etc.!!
    ... The patent on GIF expired about two years ago. ... I think GDI+ supports both JPEG and GIF natively. ... Regards, ...
    (microsoft.public.vc.language)
  • Re: Background of text is mottled
    ... MarkMurphy wrote: ... I've tried output to jpeg and gif but result is the same. ... Regards, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Drawing Text onto Image
    ... I have chosen to use Jpeg with no compression. ... Public Shared Function GetCodecInfo(ByVal mimeType As String) As ... > the same file-size because GIF uses lossless compression whereas JPEG is ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Humans "unique" social
    ... > advantage of JPEG over GIF?". ... image into colored pixels before compressing the image." ...
    (sci.bio.evolution)