Hi,

You can not create jpeg files with transparent portions or background. you
can do this in gif or png.


There are two workarounds:

First, try with png encoder classes of as3corelib library pls refer below
link:

http://ntt.cc/2009/01/09/as3corelib-tutorialhow-to-use-jpegencoder-and-pngencoder-class-in-flex.html


Second, you can use any server side language for conversion of image into
png or gif format after upload image.

Please send me code when you done this.

On Tue, Mar 2, 2010 at 2:29 PM, Naresh <[email protected]> wrote:

> Hi Parvesh ,
>
> Thanks for your response.
>
> Here i need to upload a images(JPEG, PNG, GIF, BMP) dynamically and I
> have to remove white background of an image(JPEG).
>
> On Mar 1, 9:52 pm, Parvesh <[email protected]> wrote:
> > Hi Naresh,
> >
> > As per your requirement, Use PNG Image instead of JPEG beacuse PNG
> > transparent.
> >
> > Kind regards,
> >
> > Parvesh Kumar
> > Flash/Flex Developer
> >
> >
> >
> > On Mon, Mar 1, 2010 at 8:53 PM, Naresh <[email protected]> wrote:
> > > Hi all,
> >
> > > I have a requirement in my project that i have remove the white back
> ground
> > > (color) of jpeg Image.
> > > Ex:
> > > Let say I have a circle  as Image with filled color is red and image
> > > background color is white.Here i need to remove the white background
> color.
> >
> > > Could you please let me know if this possible.If yes, Please provide
> some
> > > sample code.
> >
> > > Thanks and regards,
> > > Naresh.
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Flex India Community" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<flex_india%[email protected]>
> <flex_india%2bunsubscr...@googlegrou ps.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/flex_india?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to