AS3 | CS6 | creating and saving jpeg | Jpeg keeps white area around
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: AS3 | CS6 | creating and saving jpeg | Jpeg keeps white area around

  1. #1
    Senior Member dipkya's Avatar
    Join Date
    Mar 2001
    Location
    Mumbai (India)
    Posts
    158

    Lightbulb AS3 | CS6 | creating and saving jpeg | Jpeg keeps white area around

    When I save my movieclip into jpeg and save it on local machine. I found that actual movieclip content gets fit at left top corner and leaves white space around rest of the remaining size.

    Can I spacify the image size or can I center /exact fit the converted image.

    Summary:
    3D perspective tile images
    save parent movieclip

    Convert parent movieclip and save in local folder by filereference

    Image gets saved but with white space around.


    Thanks in advance/
    dipkya
    ---------------------------------------------------------------
    SO MUCH HAVE TO DO, SO LITTLE HAS DONE!

  2. #2
    For the love of ~GIMP~ calmchess's Avatar
    Join Date
    Sep 2006
    Posts
    2,587
    difficult to say. since I can't see any of your code here is a link that saves a jpeg using PHP you could definately change size using PHP. I personally use ffmpeg to convert my stuff.

    http://www.actionscript.org/forums/s...php3?p=1122749
    ~calmchess~

  3. #3
    Senior Member dipkya's Avatar
    Join Date
    Mar 2001
    Location
    Mumbai (India)
    Posts
    158

    Resolved

    Thanks for replying to my post. This has been resolved now. By mistake I used

    mybmp = new bitmap(stage.width,stage.height)
    instead of
    mybmp = new bitmap(stage.stageWidth,stage.stageHeight)


    One more strange thing I noticed, not related to this post, but I want to share that, when I used stage fullscreen code ,my simple buttons were not able to take mouseEvent.CLICK in html. Its working in html after I remove that code.

    Cheers
    dipkya
    ---------------------------------------------------------------
    SO MUCH HAVE TO DO, SO LITTLE HAS DONE!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com