Maybe http://www.insideria.com/2008/03/image-manipulation-in-flex.html
could help.


--- In [email protected], "Kyle" <[EMAIL PROTECTED]> wrote:
>
> ImageMagick could definately size the image up, but by the time
> ImageMagick would get ahold of the image it would be in raster format,
>  so scaling it up would pixelate it. My goal is to scale the graphics
> up in flex while they are still in vector format, then send the larger
> image to the server and scale it down with ImageMagick, thus faking a
> high-res image... The reason it needs to be high-res is that I am
> sending the image to a printer and they require 300DPI imagery...
> 
> I'm so close, I just have to figure out how to get a copy of the
> Canvas. I've managed to do it manually, by recreating each child and
> adding it as a child of the new canvas object; however, when I do this
> and then try to get bitmapdata from the new canvas it returns a blank
> graphic.....
> 
> 
> 
> --- In [email protected], "valdhor" <stevedepp@> wrote:
> >
> > Why not send the 400 x 400 pixel data to the server and have the
> > server modify it with something like ImageMagick
> > (http://www.imagemagick.org)?
> > 
> > 
> > --- In [email protected], "Kyle" <ktyacke@> wrote:
> > >
> > > Hey Everyone,
> > > I'm trying to come up with a clever way to export a high res
(300dpi)
> > > .png image from flex to be saved on my server and later printed. The
> > > initial bitmapdata is being taken from a 400x400 pixel Canvas
> > > container. I then use the PNGEncoder class to turn the
bitmapdata into
> > > a bytearray and then send it on to the server. The issue is that the
> > > .png output is at 400x400 pixels. The contents of the Canvas are all
> > > in .swf (vector) format so I thought simply setting the scaleX/Y
> > > properties to 4 prior to exporting might do the trick, but I
have not
> > > yet had any luck with this. Any ideas would be greatly appreciated.
> > > 
> > > Thanks,
> > > 
> > > Kyle
> > >
> >
>


Reply via email to