开发者

SWFUpload - how to resize image by filling in whitespace if size does not match fixed size

开发者 https://www.devze.com 2023-03-21 07:59 出处:网络
I need to have full original image of any size, resized in to a fixed sized area. I\'m using SWFUpload for this. I haven\'t figured out how is this possible?

I need to have full original image of any size, resized in to a fixed sized area.

I'm using SWFUpload for this. I haven't figured out how is this possible?


Example

I have image sized 200 X 500 px.

It has to fit to fixed sized image area of 500 X 500 px.

In the end image I'd like to have e开发者_C百科mpty area which is sized of 300 X 0 px to show white background.


Any ideas if this is actually possible?


This is not possible using the current flash api. The latest (beta) version allows only resizing.

0

精彩评论

暂无评论...
验证码 换一张
取 消