Can any tell me how to make Collage from selected images

Advertisement

Hi
I need to make a Collage of selected Images. Can anybody tell me how to proceed or point me a finger in the right direction. If there is an example then it would be great.
Thanks in advance
praveena

Advertisement

One way you can do this is to override Panel, and set up clips, like this (mind you this is a very crude example. If you used this method, you'd want to set up loops and calculations to set the Polygon dimensions:
  private class MySubPanel  extends Panel {
    private Image[] images;
    private MySubPanel(Image[] _images) {
      images  = _images;
    public void paint(Graphics g) {
// Just for a test, let's just assume only two Images are past in.
      int[]   xPnts = new int[] { 0,30,50,70,80, 95,75,60,45,30,15, 0},
              yPnts = new int[] {20,35,15,35,20,110,75,95,70,85,55,30};
      Polygon p     = new Polygon(xPnts, yPnts, 12);
      g.setColor(new Color(50,150,20));
      g.setClip(p);
      g.drawImage(images[0], 0, 0, this);
      xPnts = new int[] { 0,15,30,45,60,75, 95, 80, 70, 50, 30,  0};
      yPnts = new int[] {30,55,85,70,95,75,220,130,145,135,155,130};
      p     = new Polygon(xPnts, yPnts, 12);
      g.setColor(new Color(50,150,20));
      g.setClip(p);
      g.drawImage(images[1], 0, 0, this);

November 30, -0001

Can any tell me how to make Collage from selected images

Hi I need to make a Collage of selected Images. Can anybody tell me how to proceed or point me a finger in the right direction. If there is an example then it would be great. Thanks in advance praveenaOne way you can do this is to override Panel, and

Can anyone tell me how to make a video clip in color transition?

Can anyone tell me how to make a video clip in color transition like the opening of "Oh Brother where art though" ? You know the scene at the start where it starts off Black and White then as we move down the timeline it transitions to a rusty b

Can anyone tell me how to remove iphoto from screensaver????

Can anyone tell me how to remove iphoto from screensaver and all photos it has put into screensaver?Hi Ann, please check this document to determine the correct space for your question: Find Topic Spaces on SCN (Forums) If you need help moving it, let

Hi can anyone tell me how to make the forms url short to the end user

Hi, Im using oracle forms 11gR2 and everything is working fine, but my question in how to make the forms url short to the end user. For example my forms url is  " http://localhost:9001/forms/frmservlet "  now i want to modify this url as   "

Can anyone tell me how to delete podcasts from my iPhone?

I'm having trouble figuring out how to delete podcasts from the iPod app on my iPhone.  I'm also wondering how to determine my existing/remaining storage.  Thanks.Tap the Music icon in the Dock then tap More at the bottom of the window then tap Podca

HT4623 I update my new iphone with the data of my old iphone.  Now every email is post twice.  Can someone tell me how to correct that from happening?

I purchase a new iphone.  I backed up my old iphone and moved the data to my new iphone.  My new iphone shows my emails twice every time a new email comes up.  How can I correct this issue?Just to make sure - You're saying you had backed up your iPho

Can somebody tell me how to transfer songs from my ipad to a new laptom - itunes

I have a new laptop but saved all my songs on my ipad, how tp transfer to new laptopHello Maureen1936Cheltenham, Please follow the steps in this article in order to assist you with the process - How to use your iPod to move your music to a new comput

Any tutorials on how to make or edit tetxure images for 3d modeling?

wondering if anybody knew where some tutorials are on this. when I crop an image say for an example a plank image even though the result ion is over 1k it still looks unclear. see how the one furniture image (2048 x 2048 ) looks clear compared to a c

Can any body tell me how to make changes in the print layout of Fb03.

hi, Can any body tell me how to make changes in the print layout of Fb03. I want to add comapny address on the layout. Regards MaveIf you mean the correspondence, you have to change the configuration in Financial Accounting -> AR and AP -> Business

I enjoy karaoke and have numerous vcd's of karaoke songs. I wanted to make a compilation vcd of my own, containing my favourite karaoke songs but I am unable to achieve this on my macbook pro (mac os 10.6.8). Can anyone tell me how to step by step?

i enjoy karaoke and have numerous vcd's of karaoke songs. I wanted to make a compilation vcd of my own, containing my favourite karaoke songs but I am unable to achieve this on my macbook pro (mac os 10.6.8). Can you tell me how to step by step?I had

In Twitter & tweet contains TMI-when I click on link to open it I get an empty TMI.me screen. Started a few days ago. Tried Explorer & it works so it is definitely a Firefox problem. Can anyone tell me how to resolve it?

When in Twitter & someone tweets using TMI - when I click on the link to open it I get an empty TMI.me screen. This is a new problem - started a few days ago. In frustration I tried Explorer today to see if I have the same problem there & I don't

Error Message:  I keep getting this error when I try to download apps or songs :  MZCommerce.CreditBalance Mismatch.Mobile_message   Can someone tell me how to get rid of this?  It is very aggravating when trying to use the IPAD.

I keep getting this error when I try to download apps or songs :  MZCommerce.CreditBalance Mismatch.Mobile_message   Can someone tell me how to get rid of this?  It is very aggravating when trying to use the IPAD.Try to go to Settings and then Store.

Can anyone tell me how to restore my itunes library and playlists? After I downloaded mountain lion my library is missing and my devices can be synced to only one library ...the missing one

can anyone tell me how to restore my itunes library and playlists? After I downloaded mountain lion my library is missing and my devices can be synced to only one library ...the missing oneThat .itl file actually is the library -- at least the critic

Is their any tutorials on how to make a navigation bar with drop downs in Dreamweaver CC now ?

Is their any tutorials on how to make a navigation bar with drop downs in Dreamweaver CC now that they do not have the spry option?bbull2005 wrote: Preran, why wouldn't Dreamweaver include it's own menu/navigation bar widget? I can't answer on Preran

Can anyone tell me how to upgrade to the BT infini...

Hi, all I have an existing BT Total Broadband Option 3. can anyone tell me how to upgrade to the BT infinity Many thx Solved! Go to Solution.Hi and welcome. Enter your telephone (landline) number into the Infinity avaliability checker... scroll down

Can anyone tell me how to get rid of tlb search? it unfortunately entered into my mac. Whenever I use safari, a pop-up window opens with some ads. Please help me to find a way to remove this malware.

Can anyone tell me how to get rid of tlb search? It unfortunately entered into my mac. Whenever I use safari, a pop-up window opens with some ads. Please help me to find a way to remove this malware.You installed the "DownLite" trojan, perhaps u

HT5085 Hi there,  i'm new to the iPHONE community and please can someone tell me how to backup my phone to iCLOUD. How do i connect with wi-fi. Must i buy a wi-fi connetion or what.Thank you kind regards

Hi there,  i'm new to the iPHONE community and please can someone tell me how to backup my phone to iCLOUD. How do i connect with wi-fi. Must i buy a wi-fi connetion or what.Thank you kind regardsDo you have a wi-fi network in your home ? If you do t

My MAC did a software update tonight and now my mail wont load, it is teeling me I need to update my mail software, can someone tell me how to do this please?e

My mac updated softwar tonight and now I have no mal, can someone tell me how to udate my mail sofware please ?I assume you're talking about Security Update 2012-004 for Snow Leopard? Have you by any changed moved your Mail application out of the App

Can anyone tell me how to show/hide several layers simultaneously?

Hello Can anyone show me how to  make more than one layer visible or invisible without having to click on each separate layer? - I have more than 100 layers in a drawing, and it is very tedious to keep having to click on each layer individually to hi

HT5661 How can I unlock my iphone from Iusacel (Mexico) I moved to Canada and the Iusacel company told me they cannot do it. Can you tell me how? I want to keep using my iphone.

How can I unlock my iphone from Iusacel (Mexico) I moved to Canada and the Iusacel company told me they cannot do it. Can you tell me how? I want to keep using my iphone.The normal process is to request the unlock with the carrier.  They process it a