Jxl api : image creating in sheet.

Hi i am using jxl api for creating excel sheet .
I have a problem in creating image in sheet , i used below code to creat image:
WritableSheet sheet = workbook.createSheet("FirstSheet", 0);
sheet.setName("sheet1");
String image="c:\\testImage";
WritableImage wi = new WritableImage(10,5, 500,450, new File(image));
sheet.addImage(wi);
workbook.write();
workbook.close();
But image in not shown in sheet,
when i call sheet.getNumberOfImages(); function it gives count 1 for single image in sheet.
can any one have idead that where i am missing any code???
Thanks,
Raj.

Based on your post, you're using the InDesign contact sheet.
Bridge does not rotate the image. It sets a metadata flag. Photoshop recognizes this flag, InDesign CS3 does not (I haven't tried it in CS4 yet).
I will be writing a new version of the contact sheet script over the next few weeks.
The features I will be adding:
Ability to save multiple dialog settings
Improved dialogs
Heed rotation metadata
Bring back the ability to include subfolders
Regards
Bob

Similar Messages

  • How to create autofilter in excel page using jxl api?

    Hi Friends,
    I am using jxl api for excel generation. Its no problem
    but i need to set auto filter options. I am search in this API package but i can't find it.
    Any one know how to create autofilter in excel page using jxl api?.
    Please ..... Its urgent.... ...
    Thanks

    Hi,
    Please mail me on [email protected] if u will find any solutions, i will do the same if i will find any...
    Thank u in advance,

  • Drawing an image in excel sheet using HSSF API

    Hi All,
    Can any one please help me.
    I am facing an issue with excel sheet while drawing image using HSSF API.
    I am doing autofit for all the cells i have added. But the image is stretching along with the expanded cells.
    I want the autofit option to work but the image should not stretch. Image should be the same size as is but the cells must expand.
    Thanks in advance

    Hi Santosh
    You can export the report to PDF
    Else you can manually copy the logo\image to excel sheet.
    Hope it will help.
    Regards
    Kultar

  • Creating Contact Sheets by selecting images in sub-folders

    I'm new to scripting, so not sure whether this is within the realms of possiblity, but hope that there's an expert out there up to the challenge!
    My goal is to develop a script to automate the process of creating contact sheets for each pupil of a school photoshoot.  The folder structure being used presently is:
    1st level folder:     School name (e.g. "Southbridge School")
    2nd level folders:     Class teachers name (e.g. "Smith")
    In each 2nd level folder (i.e. representing each class) there are always 3 images per child (post processed, so ready to convert to contact sheets).  The image numbers run sequentially, so the first 3 image numbers in the folder are of the 1st child, the next 3 are of the 2nd child, and so on....
    The script I'm looking for would allow me to point Photoshop to the 1st level folder and then automatically create a contact sheet for all children 'found' in the sub-folders.  To do this the script would need to do the following:
    Taking each 2nd level folder in turn, recognise each 'child' is represented by 3 consecutive images - and starting with the 1st 3 images in the folder create a contact sheet.  Then, move on to the next 3 images in sequence and create the next contact sheet, and finish after it completes the final 3 images in the folder.  Then, move on to the next 2nd level folder...
    Create each contact sheet with the 3 images in colour and then the same 3 images in black and white (so 6 images per contact sheet), including the image number under each and a copyright watermark
    Save all contact sheets generated from all of the classes all together in 1 new folder at the 2nd level called "Contact Sheets"
    Give each contact sheet a unique name in the format "<Class teachers name> - xxx"   (e.g. "Smith-1", "Smith-2" etc...)
    So, are there any Photoshop masters out there up to this challenge?!  Your help would be greatly appreciated because the learning curve on this one looks v. steep!
    Alternatively, if you can think of a better way of doing this I would also be keen to hear!
    Thanks

    Awesome! I didnt even know aperture could do that
    Now another quick question on this topic, if im using RAW files, does aperture need to convert the file to jpeg or tiff (like it does if you export version as jpeg)?
    If it does, that may be a problem as it takes forever for aperture on my macbook to convert raws and save as jpegs, like a good minute or two per photo, and if i have 200odd photos....not good, people will crack it waiting and leave.
    Or does it print as raw? Cause im pretty sure my printer (or any printer) can not print raw files. Will try it tonight on my printer but a heads up will be useful.
    I could just shoot in hi-res jpeg, but id rather shoot raw incase they want a large poster size print etc.
    Thanks.

  • Pros and cons of jxl api and apache poi of manipulating the excel sheet.

    i want a list of pros and cons of jxl api and apache poi of manipulating the excel sheet.
    also i need to know which one is better jxl or apache poi.

    Hi Ricardo_Lorenzo,
    Whether to go for Multiserver instances or Single server, is totally a user requirement based decison. If a user has Single website, or multiple websites (of the same nature, in terms of functionality), usually the part of same domain, then they would go for Single sever installation. One single instance will handle the requests from all the websites (if there are multiple). There would not be a clustering/failover setup within ColdFusion and can use the ColdFusion Standard or Enterprise version.
    On the other hand, if a user has multiple websites, all with different functionality and have multiple applications (may or may not) running, then they can go for Multiserver installation. Each website can be configured with individual instances. Clustering can be done within ColdFusion if needed. One would need an Enterprise license of ColdFusion for the same.
    Hope this helps.
    Regards,
    Anit Kumar

  • Using Azure Python API to create VM without exception, but the VM is not launched....

    This is the scenarios:
    I have created a custom Linux VM image and I have successfully launch a VM using the Python API on region US-WESt.  
    My goal is to create a custom Linux VM on a VNET.
    This is what I have done:
    1. Knowing that using Python API to create Virtual Network (VNET) is not supported yet, I manually created a VNET using Console.
    2. Using Python API to create hosted service (cloud service) on the same location as the VNET I created.
    3. Using Python API to launch the VM on the VNET.
    4. without any exception nor error, the VM is just not created...
    The Python APIs I used:
    #create a VM
    name = 'myCloudN'
    location = 'West US'
    sms.create_hosted_service(service_name=name,
        label=name,
        location=location)
    image_name = 'cloudN-Azure-20150205-os-2015-02-05'
    media_link = 'https://xxxxxxxxxxxxxxxxxxxxxx.windows.net/vhds/cloudN-Azure-20150205-os-2015-02-05.vhd'
    linux_config = LinuxConfigurationSet('cloudN-1', 'ubuntu', 'ubuntu1!', True)
    os_hd = OSVirtualHardDisk(image_name, media_link)
    vnet_name = 'test1'
    sms.create_virtual_machine_deployment(
        service_name=name,
        deployment_name=name,
        deployment_slot='production',
        label=name,
        role_name=name,
        system_config=linux_config,
        os_virtual_hard_disk=os_hd,
        virtual_network_name=vnet_name,
        role_size='Small')
    <azure.servicemanagement.AsynchronousOperationResult object at 0x90669ec>   <=====I got this
    try:
       props = sms.get_deployment_by_name(name, name)
       print vars(props)
    except Exception as pe:
       print "Error on get_deployment: %s" %str(pe)
    Error on get_deployment: Not found (Not Found)  <======== Cannot find my VM
    Did I miss anything or the Python API is not ready for this yet....
    Please help.
    Big thanks in advance...

    I did create the cloud service.   In my original post, the first thing I do is to create the cloud service.
    The API I used to create cloud service was "create_hosted_service".
    #create a VM
    name = 'myCloudN'
    location = 'West US'
    sms.create_hosted_service(service_name=name,
        label=name,
        location=location)
    Please help.

  • Applescript create contact sheet Error

    Hi all,
    I'm using Applescript to filter my images and create a contact sheet from those filtered images. Now I'm stuck at creating the contact sheet. The error I get is:
    error "Can’t get list of {alias \"Macintosh HD:Users:stopar:Desktop:sorted:OA0001-1.jpg\", alias \"Macintosh HD:Users:stopar:Desktop:sorted:OA0002-1.jpg\"....
    My script looks like this:
    tell application "Finder"
    set sourceFolder to choose folder  -- temporary testing by selecting a folder. File filter script will be placed here
    set filesList to (files of entire contents of sourceFolder) as alias list
    end tell
    tell application "Adobe Photoshop CS4"
    activate
    create contact sheet from files list of filesList
    end tell

    It looks at first glance that you are asking for a list twice… This worked for me… Just tested with a bunch of TIFFs. Put a basic filter in there too.
    tell application "Finder"
    set sourceFolder to choose folder
    set filesList to (files of entire contents of sourceFolder whose file type is "TIFF") as alias list
    end tell
    tell application "Adobe Photoshop CS2"
    activate
    create contact sheet from files filesList
    end tell
    and as if by magik Im back to the other me… again…

  • How to add an image in Excel sheet

    hi,
    I cannot add an image in excel sheet. i have used apache POI for writing data in excel sheet. But i cannot add an image in excel sheet.
    Please help me about this
    Thanks
    Bina

    From
    http://jakarta.apache.org/poi/hssf/quick-guide.html#Images
    Images are part of the drawing support. To add an image just call createPicture() on the drawing patriarch. At the time of writing the following types are supported:
    PNG
    JPG
    DIB
    It is not currently possible to read existing images and it should be noted that any existing drawings may be erased once you add a image to a sheet.
        // Create the drawing patriarch.  This is the top level container for
        // all shapes. This will clear out any existing shapes for that sheet.
        HSSFPatriarch patriarch = sheet5.createDrawingPatriarch();
        HSSFClientAnchor anchor;
        anchor = new HSSFClientAnchor(0,0,0,255,(short)2,2,(short)4,7);
        anchor.setAnchorType( 2 );
        patriarch.createPicture(anchor, loadPicture( "src/resources/logos/logoKarmokar4.png", wb ));

  • Big Colour and detail changes between Original Nikon RAW files and the images created on the Preview page!

    Big Colour and detail changes between Original Nikon RAW files and the images created on the Preview page! Yes there are distinct visual changes when I preview my Nikon NEF RAW Files.Please note I do not use iPhoto at all.
    If you view it as a contact sheet straight from the original folder there are no alterations but the moment you double click and want to 'Preview' it, this new preview page introduces very noticeable distortions : lighter shading goes missing and colour goes darker e.g orange turns red and mid blue goes deep blue!  Alarmingly the little column on the left of the preview page showing the collection shows the original file colours and then after a few seconds show the new distorted image...you can see this visible change and it takes place after a few seconds once you double click! Also if you use Apple's 'Cover Flow' to preview, this function will replace your original RAW file with the new 'altered preview' image!
    I have raised this with Apple but they have yet to reply...has anyone ever experienced this? I have used my Mac book for 18months only noticed it about 5 days ago!
    I went to Apple store and we tried it in other laptops and Macs and it happened to all of them so we think this is a software issue and not down to the laptop.
    Any help is much appreciated!

    Big Colour and detail changes between Original Nikon RAW files and the images created on the Preview page! Yes there are distinct visual changes when I preview my Nikon NEF RAW Files.Please note I do not use iPhoto at all.
    If you view it as a contact sheet straight from the original folder there are no alterations but the moment you double click and want to 'Preview' it, this new preview page introduces very noticeable distortions : lighter shading goes missing and colour goes darker e.g orange turns red and mid blue goes deep blue!  Alarmingly the little column on the left of the preview page showing the collection shows the original file colours and then after a few seconds show the new distorted image...you can see this visible change and it takes place after a few seconds once you double click! Also if you use Apple's 'Cover Flow' to preview, this function will replace your original RAW file with the new 'altered preview' image!
    I have raised this with Apple but they have yet to reply...has anyone ever experienced this? I have used my Mac book for 18months only noticed it about 5 days ago!
    I went to Apple store and we tried it in other laptops and Macs and it happened to all of them so we think this is a software issue and not down to the laptop.
    Any help is much appreciated!

  • How can I convert an image created in Photoshop into a format that Java's ImageIO library will take?

    Hi all,
    I've been trying to write an image resize tool to use the Lancoz resample algorithm to resize images to a high standard in Java.  The library with the algorithm/filter in it is mortennobel's image scaling library and it takes a buffered image as an input and returns the resized image as desired.  However the trouble I’m having is that the ImageIO library in Java, a standard library, which converts images given to its read method to buffered images doesn't accept certain images created in Photoshop and so it throws an exception.  My library needs to be fully automated to process possible thousands of images at a time and so manually converting them by resaving them as JPEG's is really feasibly.  Is there some way I can convert these images from Adobes Exif format to standard JFIF format?  I've tried simple inserting the APP0 marker from a JFIF image in-between the SOI and APP1 marker but the ImageIO library still failed.
    The above image is a screenshot of the binary in hex of one of the images that cause an Invalid Format exception when passed to ImageIO.
    Any help you could offer me with this would be much appreciated.
    Kind regards and thank you,
    Alexei Blue
    Science Warehouse.
    NB: I previously posted this post in Developers but was told to post it in a Photoshop forum so apologies if this is the incorrect formum

    The image scaling library does have a BiCubicFilter in it so I'll experiment around with them and see what happens.  As for the imageIO library I think it accepts Exif image types, but still for some reason it just doesn't like Adobe Photoshop types.  Maybe its the colour map it doesn't like I just can't seem to work out what's wrong which is slightly frustrating but looking round to see if I can find an answer

  • How can i create  excel sheet with multiple tabs using utl file?

    how can i create excel sheet with multiple tabs using utl file?
    any one help me?

    Jaggy,
    I gave you the most suitable answer on your own thread yesterday
    Re: How to Generating Excel workbook with multiple worksheets

  • How can I print multiple images on one sheet:  PSE 10/Mac?

    When printing, I can have all of my images in the dialoug box - but cannot figure out how to get more than one image on a sheet!  For example, I am printing several photos a 2x2, and want to put as many as possilble on 1 sheet instead of using a seperate sheet for each image.  I am on a Mac.
    Any ideas??  I can't seem to find the answer.  Thanks!

    Barbara B.
    Thanks for the reply to wdwpartners question. 
    I am new to PSE 10 (on Windows 7) and having the same problem with printing multiple photos on one sheet.  With 14-20  images both contact sheet and picture package force you into 2x2 prints, not the image's original HxW ratio thus loosing some of the image on paper.  Am I missing something?
    My old version of PSE gave me an option to "print multiple photos" and custom select the image dimentions which was very useful to me.  Please let the powers that be know this user asked for that option back!!
    Thanks for a reply.

  • How to create new Sheet in Excel file and write into it

    Hi to all, my requirement is this:
    I have an excel file (.xls) with multiple sheets (three sheets for precision: sheet1, sheet2 and sheet3).
    I must create in the same excel file new sheet, say sheet4, read data from sheet1, sheet2 and sheet3 and write them into sheet4.
    How to realize this in SSIS?
    Expecially, Is it possible to realize this in SSIS?
    thanks in advance.

    You need to create the sheet with the required metadata. There's no use creating blank sheet.
    Also metadata has to be fixed using a sample sheet prior to start of the package for setting the mapping. You may create a excel template for this purpose to just set the mapping at design time.
    At runtime pass actual excel sheet path for ExcelFilePath property of the source to point to correct file.
    Also the create table statement should include the same metadata info (columns)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
    Hi, well it works fine! I have used a sample sheet prior to start of the package for setting the mapping.
    Next at run time  pass actual excel sheet path for ExcelFilePath property of the source to point to correct file.
    However I have set also ValidateExternalMetadata properties of the Excel Destination to false and DelayValidation properties of the package to true.
    Now my problem is the following:
    I stored the three sheets name (sheet1, sheet2, sheet3) in the Object type user variable through a script task and the foreach loop loops through the three sheets stored in the variable.
    Now, I want that at each iteration the CURRENT VALUE of the Object type user variable is mapped into another user variable wich in turn is given in input to the Excel Source.
    Resuming:
    -) I have to copy the content of three sheets (sheet1, sheet2, sheet3) of excel file into another new sheet,   sheet4.
    -) I stored the three sheets name (sheet1, sheet2, sheet3) in the Object type user variable.
    -) With a  foreach loop container I loops the three sheets stored in the Object type user variable.
    -) Within a foreach loop container I have a Data Flow Task that transfer data from source sheet (sheet1, sheet2, sheet3) into destination sheet, sheet4.
    -) PROBLEM: how to change dinamically at each iteration of the foreach loop the name of source sheet? In the destination excel Task the sheet is always the same at each iteration, sheet4. But in the source excel task the name of sheet musts change at each
    iteration. In particular at the first iteration the name of the source sheet must be "sheet1$", at the second iteration "sheet2$", in the last iteration "sheet3$".
    How to change sheet name dinamically at each iteration?
    thanks.

  • Clicking an image created in Photoshop launches the program but...

    Not sure where else to ask this. There isn't a Photoshop area.
    New OS9 to OSX here. Going from Photoshop 6 (don't laugh) to CS1. When I click on an image created in Photoshop it launches the program but does not open the image. I have to either go into the "open" command and do it manually or do it by finding the document in my HD. Either way it's a drag and I suspect it's not the way it's supposed to be. It's a real time-loser.
    The only thing I can think of is it's because I'm clicking on an image that was created on my G3 using Photoshop 6. On the other hand it DOES launch the program so I am not exactly sure what is going on.
    Has anyone had the same experience?
    Thanks.

    What happens if you click on Get Info and "open with" and set the image type to always use CS1?
    Other thought would be to use Onyx or Tiger Cache Cleaner to update the "Launch Services" which is what connects and controls applications and document types.
    (Might even want to consider Pogue's "Mac OS X: The Missing Manual" or something.)
    Make sure you have Tiger compatible programs, don't have something installed which is not (Norton Utilities is out).
    Set up a new test account or even a test system on another drive. And use that for doing repairs. Word of caution: never update OS X without a backup of your system.

  • Error using JXL api in a KM Report

    Hi Expert,
    My report have to use JXL api. I have already a DC containing libraries, including JXL 2.6.2.
    I declare my DC in Used DC of my report, but each time I launch it it throws me this error :
    "error executing: /reporting/reports/Content Management/Tools/rise_metrics/1237311667619.xml(com.sapportals.wcm.service.reporting.ReportInput@356422d2) - java.lang.NoClassDefFoundError: jxl/format/CellFormat at com.ctsao.project.rise.metrics.RISEMetrics.execute(RISEMetrics.java:460) at com.sapportals.wcm.repository.manager.reporting.monitor.ReportComponent$ReportWrapper.execute(ReportComponent.java:160) at com.sapportals.wcm.service.reporting.scheduler.ReportScheduler$Runner.run(ReportScheduler.java:220)"
    Is it possible to use this API in a report or there is some restriction ?
    Thanks in advance for your help,
    Jean-Edouard Nicolet.

    Hi,
    Try to include the jxl.jar file inside your private/lib folder of project and run as a workaround.
    Regards
    Baby

Maybe you are looking for

  • Facebook and skype notifications

    I have a lumia 920 and can't get fb and skype notifications work. The worked just after the installation of the apps, but then they stopped working. The apps are fine, I just don't see toast nor tile notifications. Any ideas? This isn't a borderline

  • Why can't I download Apps from my iPhone to my Mac?

    When I synchronise I get a message that I have not authorised my computer and I get a list of Apps that cannot be downloaded. I realised I have 2 Apple IDs, one from my previous email account which I shut down 12 months ago and I must have created a

  • Wireless keyboard is not recognised on startup even though batteries are not flat?

    I have two imacs and yesterday one of the keyboards would not connect to the imac when it started in the morning so I assumed it was the batteries and changed them but the same thing happened to my other imac this morning and so I used an old wired k

  • How do you use a TimeZone object?

    Hi, When I did this: TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles"); GregorianCalendar calendar = new GregorianCalendar(tz, Locale.US); Date now = calendar.getTime(); System.out.println(now);I expected the current time on my computer to be

  • High performance (low level) jdbc access routines

    Does anyone know of any low level jdbc access routines? My need is to be able to do high speed data access. I'm looking for something 2 orders of magnitude faster than what is available with the typical use of java.sql (connection, preparedstatement,