How to merge 2 images???

i have 2 images which are 500*500 pixels, how to merge into 1000*500 pixels image?

Can you help me with the same problem... I'am trying to merge 2 or more images and combined it into 1 gif image in a fly...
how can I save it into a gif file... I'm using
Acme.JPM.Encoders.GifEncoder for the convertion into a fly gif file...
here is my code....
public class imagemerger {
/** Creates a new instance of imagemerger */
public imagemerger() {
public static void main(String[] args) {
try
InputStream is = new BufferedInputStream(new FileInputStream("C:/index_02.gif"));
InputStream is2 = new BufferedInputStream(new FileInputStream("C:/index_22.gif"));
try{
Image offscreen = ImageIO.read(is);
Image offscreen2 = ImageIO.read(is2);
BufferedImage newImage = new BufferedImage(1000, 1000, BufferedImage.TYPE_INT_RGB);
Graphics2D newGraphics = newImage.createGraphics();
newGraphics.drawImage(offscreen, 0, 0, null);
newGraphics.drawImage(offscreen2, 500, 0, null);
//Image fin = ImageIO.read(newGraphics);
FileOutputStream out=new FileOutputStream("c:/final2.gif");
GifEncoder encoder = new GifEncoder(newGraphics, out);
}catch(IOException IOE){}
} catch(FileNotFoundException FNF){}

Similar Messages

  • How to merge two different images in photoshop?

    I am new here. I am starting to learn photoshop.How to merge two different images in photoshop? Please guide me. Thankyou.
    http://www.nissiinfotech.com/

    SPAM

  • How to merge photos in photo booth

    how to merge photos in photo booth that they will be un one photo

    You can email the photos from Photo Booth or from the camera roll in the photos app.
    Tap on the photo to select it and then tap the arrow icon in the upper right corner and select email -  in the photos app ..... or tap email - in Photo Booth - at the bottom of the screen.
    You can also import photos from the camera roll to your Mac using iPhoto, Aperture, or Image Capture.
    iOS: Importing  personal photos or videos from your iOS device to your computer

  • How to merge two search button from different criteria

    How to merge two search button from different criteria
    this image show the question
    http://s24.postimg.org/4algthuj9/1111.jpg
    two different criteria for the same view and I need to merge it in one button as when I click
    on the button search result give from two criteria parameters

    You can!t using af:query. the af:query component comes as is. If you can't do it through the properties, you probably can't do it at all.
    As in your other thread, the way to go is to program your own search form. This way you can use a layout and functionality you like.
    For this you create a form with input fields for the values you are searching for, put them on hte page in a way you like and in the end by hitting on a button (e.g. called Search) map all inputfields to parameters of a service method you defined in your application module or VO. This service method then executes a view criteria returning all matches in the default iterator (just as if you had used af:query.
    Timo 

  • How to merge image1.jpg(5x5) + image2.jpeg(5x5) into mergedImage.jpg(10x5)?

    Hi,
    I want to merge 2 images into a bigger one.The two subimages have the same width and height, and the merged image has the two images joined next to each other. I've tried various stuff with Raster and Bufferedimage, but it wont work.
    Suggestions, please?
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    import java.awt.image.*;
    import com.sun.image.codec.jpeg.*;
    public void testMergeImages(){
    Image image1 = Toolkit.getDefaultToolkit().getImage("m1.jpg");
    Image image2 = Toolkit.getDefaultToolkit().getImage("m2.jpg");
    BufferedImage i1 = new BufferedImage(50, 50, BufferedImage.TYPE_INT_RGB);
    Graphics2D bufImage1Graphics = i1.createGraphics();
    bufImage1Graphics.drawImage(image1, 0, 0, null);
    BufferedImage i2 = new BufferedImage(50, 50, BufferedImage.TYPE_INT_RGB);
    Graphics2D bufImage2Graphics = i2.createGraphics();
    bufImage1Graphics.drawImage(image1, 0, 0, null);
    BufferedImage mergedImage = new BufferedImage(100, 50, BufferedImage.TYPE_INT_RGB);
    WritableRaster raster = mergedImage.getRaster();
    raster.setRect(0, 0, i1.getRaster());
    raster.setRect(50, 0, i2.getRaster());
    mergedImage.setData(raster);
    try{
    JPEGImageEncoder enc = JPEGCodec.createJPEGEncoder(new FileOutputStream("test.jpg"));
    enc.encode(mergedImage);
    }catch(Exception e){
    System.out.println("Error testing merging: " + e.getMessage());
    }

    OK, I've got it now.
    The following code shows how to do it. There is no reason to mess around with paint-procedures etc. MY problem - as it turn out - was that I tried to paint the subImages onto the greater image before the subimages had actually loaded.
    public void testMergeImages(){
    BufferedImage mergedImage = new BufferedImage(10, 5, BufferedImage.TYPE_INT_RGB);
    Graphics2D g = mergedImage.createGraphics();
    Image image1 = Toolkit.getDefaultToolkit().getImage("image1.jpg");
    Image image2 = Toolkit.getDefaultToolkit().getImage("image2.jpg");
    MediaTracker t = new MediaTracker( this );
    t.addImage( image1, 0 );
    t.addImage( image2, 1 );
    try
    t.waitForAll();
    catch ( InterruptedException e )
    Thread.currentThread().interrupt();
    g.drawImage(image1, 0, 0, 5, 5, Color.WHITE, null);
    g.drawImage(image2, 5, 0, 5, 5, Color.WHITE, null);
    try{
    JPEGImageEncoder enc = JPEGCodec.createJPEGEncoder(new FileOutputStream("test.jpg"));
    enc.encode(mergedImage);
    mergedImage.flush();
    }catch(Exception e){
    System.out.println("Error testing merging: " + e.getMessage());
    }

  • Merge acting odd. Merges image in front of some and behind others.

    I use the Merge with background function A LOT and have never had an issue... until today.
    Suddenly, when I select Merge (or CTRL + M) the image I am trying to merge is only 'partially' merging. Oddly enough it is being placed in front of one image on the slide and behind another image on the slide. Super weird.  I am expecting it to just place it in front of everything as it usually does.  I am dumbfounded. 
    I have combed thru the forum for an answer but I cant find an answer.
    NOTE: I do NOT have "Use Master Slide Background" selected (.... and never have had it selected as I dont work with Master slides). I have also closed and reopened CP6 and rebooted my computer.

    Rod,
    I do not have Master Slide Objects On Top selected either.
    For now I am going to leave the image in the timeline to cover the old image but I still just dont understand why/how Master slides would have anything to do with why trying to merge the image is acting so strange.
    I continues to place the merged clipart between other images that are part of the original slide... like a deck of cards and placing the merged image between two other cards.
    Lilybiri - Do you have any suggestions on what I might do with Master Slides to get the Merge to function?
    Thanks

  • HT204414 how to merge my iPhoto Library into my Photos System Library or how to import photos from iPhoto to Photos?

    Can anyone tell me how to merge my iPhoto Library into my Photos System Library or how to import photos from iPhoto to Photos?

    How many did you trash at one go? iPhoto will baulk and possibly corrupt if you try trash too many at one go. Expereinced users recommend getting rid of them in batches of about 100 or so.
    What's your plan for the remaining images in the iPhoto Library (the 2k photos and 4 videos)?
    Regards
    TD

  • How to merge adjustment layers to several layers and export layers to files

    Hi!
    I have now exactly the same problem as below with over 1000 images, I have saved them in .psd that has over 100 layers each. On top of those there is curves and levels layer that affects every layer below. I want to save all images to .jpg for videoedit with those curves at least. I don't want to merge same curves 100 times. Is there a solution in phothoshop cs5 or cs6 available? Would save alot of working hours. All I have got by this far is blank white images of adjustment layers and non adjusted jpg-files.
    This discussion was opened in 2010 and I quess this is same problem:
    How to merge adjustment layers to hundreds of layers?
    Jul 28, 2010 10:38 AM
    Say I have a photoshop File with 100 layers.  And say I created 3 adjustment layers on top of those 100 layers to get the adjustments that i want for those layers.   I'm happy with the adjustments but Then I NEED to merge those 3 adjustment layers to ALL those 100 layers.   Is there a way to easily permanently apply the adjustments to each of those layers without having to do it manually?     I absolutely need to merge the adjustments to the seperate layers because of how the layers are being used in a seperate 3d program.   
    So far what I've been doing is duplicating the adjustment layers for each layer and merging them to said layers separately.. Anyone have a better way? I wish I could just right click the adjustment layer and Tell it to merge to everylayer it affects  or apply to every layer underneath it!
    Anyone?
    Thanks!
    Thanks alot if u solve this!
    -Anne

    first
    doing action on one photo only with any effects or filtters .
    second
    doing Droplet  = File > Automate > Create Droplet.
    for more details with pictures here
    http://www.absba.org/showthread.php?t=1172143

  • Hi, does anybody know how to merge photos in photoshop that were shot with fisheye lens?

    There is a function "photo merge" through Bridge, it does good job with regular photos. However this function does not work when I try to merge images that are shot with fish-eye lens, since the images have exaggerated angles and dark vignette on the corners. I asked to support center, they have not answered. I found other software that does   work for my purpose, but I wanted find out if photoshop has function for the type of work I am looking for. Thanks.

    hi Chris,
    It seems that Photoshop 5.0 does better photomerge with ordinary lens images.
    When we merge regular photos, for instance to make 360 panoramic of the room interior, we photographed 36+1 images rotating camera every 10 degree... and more images result better for seamless photomerge. When I process 12+1 images (30 degree rotating), photomerge becomes into sections, not as one seamless piece, so I figured more overlappings give better reference points for photoshop to make perfect photomerge. And Yes, it does perfect seamless merge into one photo. However it takes long time, over 45 minutes to process 37 images into one room panoramic interior. So, our client has 80 rooms to photograph, then 80 x 37 shots, + processing time for photo merge became my concern. 
    Then, I used fisheye lens to photograph the interior and it reduces into no more than 8 images. Besides when they are correctly merged, it gives better panoramic effect when I plug into a different software.  However, the function of photomerge in photoshop 5.0 does not work well with these exaggerated corners with high vignettes. It seems not finding the enough reference points to stitch together.  It never make seamless one image, rather it merges into two-three sections. So I need to manually stitch them together, which is not efficient solution for 80 different interiors.
    Please let me know how you did your crazy fisheye lens shot merged in photoshop, that requires no manual stitch, cuz I need to eventually process the multiples.  I found the program PTGui and it does good job, but I wanted make sure if photoshop handles the fisheye lensed shots better or the same, before we purchase PTGui program.
    I asked to adobe photoshop helpline, and I emailed images with my concerns but never got any reply yet. it has been a week. So it will be great if you could give me a tip.  Thank you so much, Chris.
    - Jessica (jungah)

  • Photoshop - combine red and green channel images into a merged image?

    Hi,
    I am a developmental biologist carrying out experiments on a type of microscope known as a Confocal Laser Scanning Microscope (CSLM).  Basically, this is a microscope coupled to some lasers which allow fluorescently-labelled parts of a biological sample to be imaged in high detail.
    For each sample there will be a set of two images produced, named and numbered as follows:
    sample01_g.tif
    sample01_r.tif
    Each image represents one fluorescent wavelength and correspond to green ( g ) and red ( r ).  These images are in rgb colour.
    I want to produce a merge of these two channels to generate a new TIFF file such that:
    Green channel is taken from sample01_g.tif
    Red channel is taken from sample01_r.tif
    Which would show me how the different channels co-localise, or not.
    This is fine to do by hand in Photoshop, but takes a long time when you have a couple of hundred images to process.  So, what I would like to do is write a script that batch automates the process, like a droplet.  I have the process outlined below:
    Create a new RGB TIFF called sample01_merge.tif
    Take the green channel from sample01_g.tif and copy it to the green channel of sample01_merge.tif
    Take the red channel from sample01_r.tif and copy it to the red channel of sample01_merge.tif
    Save sample01_merge.tif into a folder named "Merged Images" on the desktop
    Close the opened images
    Go to next set of images –> sample02_g.tif and sample02_r.tif
    Create a new RGB TIFF called sample02_merge.tif....and go through step 2-6, untill the last set of images has been processed.
    I have never used script before and would love to learn, but I am making slow progress and would like to have this problem solved sooner than I will be able to do so by myself.  So... I was wondering if anyone could give me some advice on how to go about doing this?
    Any help will be greatly appreciated!
    I use a Mac Pro running OSX 10.8.3 and Photoshop CS6 Extended
    Best regards,
    John

    Yes, as I said it wasn't finished and wasn't meant to be used. It was just to show that working with image sets based on a name pattern is easy.
    Here is a version that does do the merge and save using applyImage.
    Note: for applyImage to work the images in each set need to be the same size. Some of your jpeg samples were not. This worked with one set by not the other.
    // make a reference to the savedFolder
    var savedFolder = new Folder('~/desktop/Merged Image');
    // create the folder if it doesn't exists
    if(!savedFolder.exists) savedFolder.create();
    // get the source folder from the user and store in variable
    var sourceFolder = Folder.selectDialog();
    // make sure user selected a folder
    if(sourceFolder != null){
        // get an array of red images and store in variable
        var sourceFiles = sourceFolder.getFiles(/_r\.tif$/i);
        // make a loop to process all found sets.
        for(var i = 0; i < sourceFiles.length;i++){
            var redName = sourceFiles[i].name;
            var greenName = redName.replace('_r','_g');
            var redImage = open(sourceFiles[i]);// open the red file and store reference to document
            var greenImage = open(new File(sourceFolder+'/'+greenName));// open the green file and store reference that document
            // now select each channel and apply matching channel in redImge using lighten mode
            app.activeDocument.activeChannels = [app.activeDocument.channels.getByName(localize('$$$/ColorModes/RGB/ChannelName/Red=Red'))];
            applyChannel( charIDToTypeID( "Rd  " ), redImage.name );
            app.activeDocument.activeChannels = [app.activeDocument.channels.getByName(localize('$$$/ColorModes/RGB/ChannelName/Green=Green'))];
            applyChannel( charIDToTypeID( "Grn " ), redImage.name );
            app.activeDocument.activeChannels = [app.activeDocument.channels.getByName(localize('$$$/ColorModes/RGB/ChannelName/Blue=Blue'))];
            applyChannel( charIDToTypeID( "Bl  " ), redImage.name );
            // select the componet channel( rgb )
            selectComponentChannel();
            // save the merged document
            SaveAsTIFF(savedFolder+'/'+redName.replace(/_r\.tif$/i,'_merged.tif'),true);
            // close the open documents for next loop
            redImage.close(SaveOptions.DONOTSAVECHANGES);
            greenImage.close(SaveOptions.DONOTSAVECHANGES);
    function applyChannel( channelID, documentName ){
        // charIDToTypeID( "Rd  " )
        // charIDToTypeID( "Grn " )
        // charIDToTypeID( "Bl  " )
        var desc = new ActionDescriptor();
        var channelsDesc = new ActionDescriptor();
        var ref = new ActionReference();
        ref.putEnumerated( charIDToTypeID( "Chnl" ), charIDToTypeID( "Chnl" ), channelID);
        ref.putProperty( charIDToTypeID( "Lyr " ), charIDToTypeID( "Bckg" ) );
        ref.putName( charIDToTypeID( "Dcmn" ), documentName );
        channelsDesc.putReference( charIDToTypeID( "T   " ), ref );
        channelsDesc.putEnumerated( charIDToTypeID( "Clcl" ), charIDToTypeID( "Clcn" ), charIDToTypeID( "Lghn" ) );
        channelsDesc.putBoolean( charIDToTypeID( "PrsT" ), true );
        desc.putObject( charIDToTypeID( "With" ), charIDToTypeID( "Clcl" ), channelsDesc );
        executeAction( charIDToTypeID( "AppI" ), desc, DialogModes.NO );
    function SaveAsTIFF( inFileName, inLZW ) {
        var tiffSaveOptions = new TiffSaveOptions();
        if ( inLZW ) {
            tiffSaveOptions.imageCompression = TIFFEncoding.TIFFLZW;
        } else {
            tiffSaveOptions.imageCompression = TIFFEncoding.NONE;
        app.activeDocument.saveAs( File( inFileName ), tiffSaveOptions );
    function selectComponentChannel() {
        try{
            var map = {}
            map[DocumentMode.GRAYSCALE] = charIDToTypeID('Blck');
            map[DocumentMode.RGB] = charIDToTypeID('RGB ');
            map[DocumentMode.CMYK] = charIDToTypeID('CMYK');
            map[DocumentMode.LAB] = charIDToTypeID('Lab ');
            var desc = new ActionDescriptor();
                var ref = new ActionReference();
                ref.putEnumerated( charIDToTypeID('Chnl'), charIDToTypeID('Chnl'), map[app.activeDocument.mode] );
            desc.putReference( charIDToTypeID('null'), ref );
            executeAction( charIDToTypeID('slct'), desc, DialogModes.NO );
        }catch(e){}

  • HDR Pro on CS 5 - Merged image appears but bottom with save buttons cut off??

    When I select photos to merge, either via Bridge or within CS5 (Automate/Merge to HDR Pro), the Merged image appears over the CS5 screen.  However, the bottom of the HDR screen with the photos selected for the merge along with the Cancel & Save buttons are cut off.  The only way for me to exit HDR is to force quit.
    My monitor resolution is 1440X900 which is better than the 1024x768 required for CS5.
    I noticed the same problem in Terry White's video on Youtube describing workflow between Lightroom & CS5 HDR Pro (http://www.youtube.com/watch?v=rab25UTe6HY) as well as a couple of other users mentioning the problem to Zeno Bokor of Adobe (http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-78e5a.h tml).
    Does anyone have a solution???
    Thanks.

    I found the soluion - after spending over an hour with Adobe phone support (800-833-6687) - of which 45min was being on hold.
    It turns out that for some computers, Photoshop CS5 doesn't automatically work as efficiently as it could with the monitor resolution, even if the resolution is > than the minimum 1024 X 768.  This is more frequent in those that have had older versions of Photoshop in them. This causes part of the screen to be cut off when going into HDR Pro.
    One has to "prime" CS5 to recognize one's computer monitor settings.  How to do:
    Close out of PS CS5
    Go to system preferences and select hardware settings/display (For PC would have to go through Control Panel/Hardware/Display)
    Change monitor setting to one recommended by Adobe: 1024 X 768 or 1280 X 800
    Save changes.  Monitor will look less clear if you have been using higher settings...it's ok for now.
    Now open CS5 again and access HDR Pro all three ways available, i.e. via Bridge, Mini Bridge and through PS under File/Automate. 
    Verify that the entire screen is visible including all thumbnails and Save/Close buttons.
    Close out of CS5.
    Go back to System Preferences ( for PC, go through Control Panel) and change back to your preferred resolution.
    Voila! When you open CS5 again you should be able to see the entire screen.
    For example, I use a Macbook Pro with OS 10.6.7 and the monitor resolution  was set to 1440 X 900.  However, I still couldn't see the bottom of the  screen with the Save/Close buttons so couldn't save any work (had to  force quit or escape to exit HDR).  After doing the above steps, I am now able to use HDR Pro w/o problem and access the Merge via all three modes.
    Via  Mini Bridge - Choose photos to merge--> Tools (above photos, last on right in Content bar) --> Photoshop --> Merge to HDR Pro
    Via Bridge - Choose photos to merge--> Tools (Tool Bar beside "Adobe CS5 Bridge" at left top of screen; 3rd from end) --> Photoshop --> Merge to HDR
    Via inside Photoshop - File --> Automate -->  Merge to HDR
    Since this seems to have affected several people and is a simple solution, I have asked the supervisor I spoke to, Laurie, to please have someone in Adobe post this solution.
    Hope this helped.
    MJC

  • Data Merge Image Alignments

    Greetings,
    I'm turning to this forum, as nothing I've tried has worked.  In a data merge using only merged images from a CSV Excel Workbook, everything is displaying generally the way I want.  But in one of the frames with a merged image the images will NOT align to the bottom of the frame!  I've tried setting the frame fitting properties *before* placing the image merge field into the frame.  I've tried selecting the previewed, linked image and configuring that.  Tried dragging the image. Nothing!  When I toggle the preview to refresh, it jumps right back up to the top left of the frame.
    I know this is not the most widely used practice in InDesign.  But any ideas would be appreciated!
    Thanks!
    Bill

    Thanks Mike!  Very kind of you to check back in.  I'm working with version 7.5.3 from CS 5.5 on a Mac.  I made sure it was up to date, and tried a couple more obvioius things.  But still nothing.  I can achieve my end without aligning the image to the bottom of the frame.  But the results are less than optimal.  I always become obsessed with this kind of thing until I can find an answer or a workaround.  One idea I thought might be interesting is to establish a grid and attempt to anchor the image to that grid.  But what makes this especially challenging is that we are dealing with variable image sizes that are linked to files on my hard drive.  If this were a static page, I"d be long done with this.  :-)
    To be clear about what I'm doing, I've hand-written variables from a contact list and scanned those contact variables (address, full name, salutation, greeting) into coorisponding directories on my hard drive.  On both the inside of a card as well as the outside of an envelope, I have two VDP frames, one above the other respectively.  In the case of the envelope, for example, I'd like the top frame that contains the contact's full name to format so the full name image sits on the bottom of its frame, so I can control how closely it displays above the frame containing the address below it.
    Anyway, still unsolved.
    Thanks again for checking back!
    Bill

  • I am trying to figure out how to merge my AD network account.

    I am trying to figure out how to merge my AD network account with my Mac account. The main reason for this is wanting to log into my admin account on the Mac, and have it also log into my network account so I do not have to log into differing accounts depending on wether I am on the network or not. And I am going to be running VMware fusion with windows on top, so having one account would be essential to this.
    Thanks.
    P.S. I am brand new to Apple, not by choice. ;-)

    Basically I want to link a network account to a local account, so that I always log into the same account, even if I do not have network access....

  • How to Call Image Viewer from Form application

    Hi,
    how to call Image viewer using host command on oracle form 6i.
    i trying using host command on local/client application .. and it is working ...
    but when i try on server application (EBS - UNIX) it does not working ...
    thanks ..
    regards,
    safar

    Are you using Forms 6i in client/server mode or web deployed? I'm not sure what you mean by 'try on server application"
    Remember that when using a web deployed architecture, a host command will execute the command on the Forms application server, NOT on the client.
    To execute host commands on the client you would have to use WebUtil, but that's not available for Forms 6i. Perhaps there are PJC's out there that can do it for you, but I don't want to get in all those details without me knowing if it is relevant for you.

  • How to use images from ADFLib

    Hello OTN,
    My application is devided into several ADFLibs, one of them is CommonUI. It includes common skin and it is imported into every application part.
    There are some images which should be available in different parts, so I decided to put them in CommonUI.
    After deploying adflibCommonUI adn refreshing Resource Palette, somehow I expected to see this image there, but it isn't.
    Could someone, please, explain me, how to use images contained in imported ADFLib, for example, as imageLink icon?
    Thanks.
    ADF 11.1.2.1

    Hi,
    images need to be saved in a specific file structure in the JAR file to be accessible. See:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/86-images-from-jar-427953.pdf
    Frank

Maybe you are looking for

  • Unable to see report in pdf format in BI Publisher 10.1.3.2

    Hi I am new to BIP and I am facing problem to display pdf format in BI Publisher 10.1.3.2. Here is my my generated by 10g Report Developer. <?xml version="1.0" encoding="WINDOWS-1256"?> <!-- Generated by Oracle Reports version 10.1.2.0.2 --> <NEHAS_G

  • Acrobat 9.4.6 on Lion loads s l o w

    Recently, Acrobat 9.4.6 on Lion is loading extremely slow. When I try to open a PDF, it might up to 5 minutes to load.  I've tried uninstalling Acrobat and then reinstalling hoping that it would replace/repair any possible corrupted files with no luc

  • Hp psc 1110 all-in-one printer-co​pier-scann​er

    Recently I've been experiencing a problem with my printer (hp psc 1110 all in one):  it will print fine, then suddenly it will not print even though the print job is listed in the que.  If you turn the printer on and off, it will then "flash" in the

  • NW 7.01 SR1 installation error

    hi all, we installing NW 7.01 EHP1 SR1 on solaris 10 woth oracle 10g , but we start installtion irt generate errors root@newdev # ./SAPINST [==============================] / extracting...  done! iauxsysex.c:271: exec(/tmp/sapinst_exe.2316.1272350145

  • Datagrid with Horizontal and vertical header?

    Hi, I need to set a datagrid with a vertical and horizontal header, something like this: http://www.poirrier.be/~jean-etienne/info/csharp/datagrid-app.png But I need to be able to add labels to the vertical header cells too. Is there anyway to accomp