Image Cropping Component
October 24th, 2007
Involved in my work of Mafunet (a generic cms done in Flex), I found a big problem: when a user uploads an image to a website and this image has to have standard size, he needs to crop the image before uploading it with Photoshop or Gimp, or we have to automate the scaling of the image, losing some details and functionality. I have developed this component, that allows the user to load an image on the server, crop it on the client side, and save it again on the server with the name that I choose.
For the masking, I have changed the blend mode of the different layers. But I’m still having problems when you drag the image, it takes a little bit of time to understand the layout.
The steps…
1. I crop the image with the function of BitMapData copyPixels(bitmap data, rectangle, point).
2. Then, I encode the crop image with JPEGEncoder.
3. Once I have encoded the image, I create a post call, with the file and the name of the file that I want.
4. Once done, I download the file to see how it looks.
The example, here.
And that’s all, if someone needs source code, e-mail us.
November 3rd, 2007 at 11:38 am
I want to check the source code.
November 5th, 2007 at 12:19 pm
Give me your email and I’ll send it you by email.
November 13th, 2007 at 10:32 pm
Hello. I am trying to build a simple crop, resize, rotate component for an application that I need. What you have done would give me a great push forward. Would you be willing to share the source.
January 18th, 2008 at 9:47 am
Hereby I ask for the Image Cropping Component sourcecode.
Greetings from Belgium.
January 21st, 2008 at 1:12 pm
Hi!! I would like to check the source code
thanks!
January 30th, 2008 at 4:40 pm
Hello there!
may I please have the source code for this?
Many Thanks
P
February 4th, 2008 at 1:52 pm
I want check your source code
February 13th, 2008 at 9:12 am
pls can u send me the code
thanx in advance
February 13th, 2008 at 3:52 pm
Your code seems to be really interesting, may I have a look at it please ?
Thanks in advance.
Hi from France
February 18th, 2008 at 10:22 pm
Hi from Mexico!
Can you send me the source code, looks pretty interesting!
I’ll appreciate it! ^^
February 27th, 2008 at 10:58 am
Please could I have a copy of the source code?
Thanks, Luke
March 3rd, 2008 at 11:21 pm
This can really save my ass at work. Please, let me se the source.
Thank you very much for it. (If you can’t show me, thanks anyway for the clue
)
Hugs from Spain
March 9th, 2008 at 9:39 am
Hi~Would you email the source code for me,THX!
March 9th, 2008 at 10:40 am
Can i please have the source code asap
this would help me alot ! thank you 
March 19th, 2008 at 1:50 pm
Please send me the code for image cropping
March 20th, 2008 at 9:58 am
Hi,
Nice work. It’s exactly what I needed for a website I’m making.
Could you send me the source code please?
What the licence of the code?
Thank you
–
Camille Roux
http://www.camilleroux.com
April 3rd, 2008 at 3:56 pm
Hi Guys,
That’s exactly I was looking for the project I am working right now. Can you please send me the source codes. What’s the deal with this, is this a freeware open source or do I have to pay for it and how much?
Thanks,
April 8th, 2008 at 7:02 pm
Hi…. Can you mail me the source of this…. Its really cool!!!
-Uday
April 26th, 2008 at 2:00 pm
Can you please send me the code? Please let me know if I can use it freely or I have to pay. Thanks a lot.
May 4th, 2008 at 1:17 pm
hi..willu plz mail me source code cropping image..
thanks..
May 4th, 2008 at 1:18 pm
hi will u plz mail me the source code for cropping image..!
May 5th, 2008 at 1:17 pm
I would be very interested to have the source code of your cropping component.
Thanks
May 17th, 2008 at 12:54 pm
nice work! can I also request the source code please? thanks in advance
May 29th, 2008 at 5:23 pm
Hi, it’s a really nice work, can you send me the source code to check it out?
thanxx
June 2nd, 2008 at 12:16 pm
Hi, I am also working on same croping component which you have done can i see that logic.
Thanks,
Vikas
June 22nd, 2008 at 4:43 am
Hereby may I have the Image Cropping Component sourcecode.
Greetings from Jackie
June 23rd, 2008 at 9:17 pm
I would like to have the image Cropping Component source.
Thanks,
Ayaz
June 24th, 2008 at 12:54 am
Hi need the same component can pass the source code?
thanks
June 24th, 2008 at 1:00 am
this comoponent use mask?
June 26th, 2008 at 7:14 am
i have send you a mail for source code !
Thanks !
June 26th, 2008 at 12:32 pm
Cool, exactly what i’m looking for!
Can you send me the source code, please?
Thanks!
June 27th, 2008 at 1:58 pm
Hi,
I looked for an image cropping component, exactly like yours.
I would like to check the source code.
Thanks
July 1st, 2008 at 5:54 am
Hi,
I would like to create an image cropping module that has the capability to save the cropped image. Can you please send me the source code, please?
Many thanks!
July 2nd, 2008 at 9:51 am
hi. nice crop flex propgram, ca you send me please to the email?
July 4th, 2008 at 11:44 am
Hello!
Do you sell this code? Is it available in a commercial schema?
I would like to get the source code for this module, because I am stuck with the same problem in my project, and i would like to solve this with your solution.
regards!
Martin
July 6th, 2008 at 6:58 am
Has anybody recevied a copy of soure code?
July 6th, 2008 at 4:36 pm
hi,
I’m looking for the source code.
is there a way I can check the source?
this is my email for any response:
mrjimmypage@hotmail.it
thx
July 11th, 2008 at 5:16 pm
hehe this is pretty funny. Why would anyone want to see an example and not see the code?
why not just post a link to the code to begin with.
July 18th, 2008 at 11:57 am
Hi
The example is pretty good. Can i get the source code from you.
Thanks
Satish
July 28th, 2008 at 10:37 am
Hello, can i have the source code for this project?
My email is buionero@hotmail.com
Thank you very much.
July 31st, 2008 at 12:55 pm
Hi - can I please have the source as well? Thanks!
Dave
July 31st, 2008 at 9:13 pm
Can I get the source code? info@getsomemojo.net
THANKS
August 7th, 2008 at 5:29 pm
Can i have the source code please thanks.Looks great
August 16th, 2008 at 11:56 pm
Hey can i please have the source code too? Pretty please
thanks
August 19th, 2008 at 7:25 am
Please could I have a copy of the source code?
Thanks in advance, Angel
August 26th, 2008 at 11:00 am
Please could I have a copy of the source code?
I’m interesting using mask and croopping images.
Thanks
August 27th, 2008 at 3:47 pm
Please send me your mail or skype.
Thanks
August 27th, 2008 at 4:18 pm
Hi, great concept, it’d be nice to check out your source. if possible can you send it over?
thanks!
September 3rd, 2008 at 10:01 am
I need the source code !
thanks.
Looks great
September 3rd, 2008 at 10:02 am
my email glysyjust@yahoo.com.cn,thx
September 5th, 2008 at 11:31 am
Nice. Can I get a copy of the source code.
Thanks. G
September 9th, 2008 at 9:04 pm
I’d like to get the source if it’s still available.
Thanks
September 17th, 2008 at 1:42 pm
Hello,
great job for this cropping component ! I’d like to check the source code if possible.
Thank you !
September 26th, 2008 at 1:00 pm
Hi, could you share your code with me? It seems to be very interesting.
Thanks!!!
October 2nd, 2008 at 1:00 am
This is brill! exaactly what i am looking for. Can i please get the source code? Ive asked before but got no reply
Thanks
October 2nd, 2008 at 1:02 am
If you need my email again its clare@green17creative.com
Thanks a mill
October 7th, 2008 at 8:40 am
Man, that is what i’m searching for - could you plz send me this cool peace of code!!
October 15th, 2008 at 3:30 pm
It’s lovely work. Can I have the source too.
322oops@gmail.com
October 26th, 2008 at 7:19 am
Can I get a copy of the source code too.
November 10th, 2008 at 11:25 am
Exactly what I need - could you please email it to me (I’ve supplied my email address in the Mail field)?
thanks!