How to go to particular page of a TIFF Image

Hi to all,
In my application i have to display TIFF Images.Here each TIFF Images consists of 5-10 pages.When we open that TIFF images generally it will start from page1.My problem is i have to directly go to page number 3 or 4 or 7 directly when i open the image.Can any one provide code for this problem.
Thanks in Advance

Hi to all,
In my application i have to display TIFF
Images.Here each TIFF Images consists of 5-10
pages.When we open that TIFF images generally it will
start from page1.My problem is i have to directly go
to page number 3 or 4 or 7 directly when i open the
image.Can any one provide code for this problem.
Thanks in AdvanceSee http://asprise.com/product/javatiff/
You can use something like this: tiffimage.getPage(int page);

Similar Messages

  • How to go to particular page in this forum

    Hi all,
    can anybody know how to go to particular page in single step.
    this is not the right question in this forum, but sorry for asking
    please let me know
    thanx
    asp

    bookmark it?

  • How to fill an 8x10 page with the same image for making buttons?

    How do you make a button template using the grid?  How do you import the image onto that, and how do you fill an entire page with the same image ie-  1" circles

    I'm trying to do the same thing but I want 1" squares.  I just upgraded from Elements 6 and I did this
    quite often for pendant necklaces.  I used to go and print individual prints, but the previous options are not there.  ;(
    And the picture package is only showing 20 (2x2) as being the smallest size.  I don't see a custom button.
    Can anyone tell me how to do this?  We're doing these for a fundraiser and I can't even print anymore.
    Thanks,
    Kimberly

  • How to control the pixcel size in given tiff image

    Hai
    I loaded tiff image into the Frame by using the jai_core.jar and jai_codec.jar files. I am unable to control the pixcel size. It displaied default size. How to restract the pixcel on the image in Frame.
    import java.io.File;
    import java.io.IOException;
    import java.awt.Frame;
    import java.awt.image.RenderedImage;
    import javax.media.jai.widget.ScrollingImagePanel;
    import javax.media.jai.ImageLayout;
    import javax.media.jai.NullOpImage;
    import javax.media.jai.OpImage;
    import com.sun.media.jai.codec.SeekableStream;
    import com.sun.media.jai.codec.FileSeekableStream;
    import com.sun.media.jai.codec.TIFFDecodeParam;
    import com.sun.media.jai.codec.ImageDecoder;
    import com.sun.media.jai.codec.ImageCodec;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.imageio.ImageReadParam.*;
    class MultiPageRead extends JFrame
    ScrollingImagePanel panel;
    //     JFrame mainFrame = new JFrame();
         Container c;
         public MultiPageRead(String filename) throws IOException
    getContentPane();
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              pack();
              setTitle("Multi page TIFF Reader");
              setSize(980,1200);
              getContentPane();
    File file = new File(filename);
    SeekableStream s = new FileSeekableStream(file);
    TIFFDecodeParam param = null;
              ImageDecoder dec = ImageCodec.createImageDecoder("tiff", s, param);
    System.out.println("Number of images in this TIFF: " + dec.getNumPages());
              ImageLayout size = new ImageLayout(,0,12,12);
    // Which of the multiple images in the TIFF file do we want to load
    // 0 refers to the first, 1 to the second and so on.
    int imageToLoad = 0;
    RenderedImage op = new NullOpImage(dec.decodeAsRenderedImage(imageToLoad), null,
    OpImage.OP_IO_BOUND,
    size);
    // Display the original in a 800x800 scrolling window
    panel = new ScrollingImagePanel(op, 100, 200);
    getContentPane().add(panel);
         public static void main(String [] args)
    String filename = args[0];
    try {System.out.println("jfdfldjfldfjldjfjldjfjdjdjdjjdjdj");
              MultiPageRead window = new MultiPageRead(filename);
                        window.pack();
                        window.show();
              catch (java.io.IOException ioe)
              System.out.println(ioe);
    regards
    jaggayya

    Changing the fonts in Print using ABAP is not possible. as basic report output is a text editor.
    By changing "Customizing of Local Layout" will only change in display screen and not in print.
    One possible way to create a new printer formatr thry SPAD and use that format in while printing.
    to know more details about SPAD
    Using SPAD - SAP Spool Administration to print different paper size
    The SAP spool system manages its own output devices. This includes mostly printers, but also fax and archiving devices. In order for you to use output devices defined in your operating system from the SAP System, you must define these devices in the SAP spool system.
    Print to a dot matrix printer using computer paper with 66 lines
    Define paper types
    Formatting process Z_60_135
    Page format DINA4
    Orientation tick both Portrait and Orientation
    Type in the comment and click save
    Device initialization
    Device type - OKI341
    Formatting process Z_60_135 then click Execute
    Double click Printer initilization
    You must key the 66 lines hexadecimals for your printer. ( line no 9)
    1 # oki341 x_paper
    2 # reset
    3 # \e\0x40
    4 # select codepage multilingual 850
    5 \e\0x52\0x1a
    6 # disable skip perforation mode
    7 \e\0x4f
    8 # select 6 lpi
    9 \e\0x32
    10 # select page length 66 lines (66=hex $42)
    11 \e\0x43\0x42
    12 # select 10 cpi font
    13 \e\0x60
    CHECK THIS LINKS
    http://help.sap.com/saphelp_nw04s/helpdata/en/df/abbb3f8e236d3fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5a/4df93bad37f87ae10000000a114084/content.htm
    http://www.geocities.com/SiliconValley/Grid/4858/sap/Basis/printprobs_solutions.htm
    Hope this helps you
    Regards
    Pavan

  • How to increase the speed of Zoom on TIFF image

    Hi everyone,
    i m doing zooming operation on tiff image.
    when i applied zoom in operation on image which have properties
    Bit per sample =1
    Image Length = 2200 Pixel
    Image Width = 1700 Pixel
    Resolution(x) = 200 dpi
    Resolution(y) = 200 dpi
    then it require 2 sec.
    then i apply the same code with tiff image which have properties like,
    Bit per sample =1
    Image Length = 3300 Pixel
    Image Width = 2500 Pixel
    Resolution(x) = 300 dpi
    Resolution(y) = 300 dpi
    then it require 9 to 10 sec.
    my code is:
    RenderedImage src= oriRndImage[selectedButtonIndex];(orirndImage is Rendered
    Iamge)
    //Transfer Current RenderedImage object into BufferedImage object
    Raster ra= currRimage.getData(); //it take time.
    DataBuffer db = ra.getDataBuffer();
    SampleModel sa = ra.getSampleModel();
    ColorModel cm = currRimage.getColorModel();
    final BufferedImage currImage = new
    BufferedImage(cm,Raster.createWritableRaster(sa,db,null), false, new
    Hashtable());
    //Create new Bufferred Image
    BufferedImage bi = new BufferedImage(zoomW,zoomH, BufferedImage.TYPE_INT_RGB);
    Graphics2D g = bi.createGraphics();
    double scaleW = (double)(zoomW)/(double)(prev_width);
    double scaleH = (double)(zoomH)/(double)(prev_height);
    transAtZoom = AffineTransform.getScaleInstance(scaleW,scaleH);
    g.drawRenderedImage(src, transAtZoom);
    can any one plz suggest me the way ,how to increase the speed. of Zoom effect?
    how to handle this problem?
    thnxs..

    Are you using NI Vision IMAQ AVI Read Frame or anther method to read the AVI file?
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

  • How do I create photo page with blow up images on click?

    I need some help trying to create a web page of photo thumbnails with blow-up larger images:
    1) I want to create a contact sheet type of web page of multiple photo thumbnails.
    2) When you click the photo it opens into a small window or "blow-up" version of the thumbnail. (Clicking the thumbnail does NOT take you to a new page with the full size image).
    3) The blow-up photo has a circle and X that will close the blow-up window.
    I've already figured out how create pages of thumbnails that will take you to a new page with the full size image. I'm trying to create the effect where you never leave the main page, the thumbnails just blow-up into small windows that can be closed again.
    Apple uses this effect a lot with photos and movie clips on their page. An example of what I am trying to do can be found on the iLife/iPhoto/MobileMeGallery info page at Apple.
    If you look to the right just under the main large banner images, there is a grey box titled "iPhoto Showcase." If you click one of the thumbnails there, the picture blows out to a larger size of the image, but doesn't take you to another page. The blow-up image has a little circle and X at the top left to close the window. Main page is still visible behind the blow-up window.
    I'm using a fairly new MacBook with OS 10.5, iPhoto and iWeb '08. I also have Aperture 2.0. I don't have a .Mac or MobileMe account yet. I'm a recent convert from the Darkside, so right now I use google's Picasa Web Albums and google's website creator for my site. If I can get this to work, I'll make the switch MobileMe once the early .Mac conversion kinks get worked out.
    Thanks,
    TDizzle...

    Cyclosaurus--
    That's the effect that I'm looking for. I've read through the instructions on Cabel's website (thanks for the great links!) But I'm afraid I'm still a bit of a novice with website creation and editing. I liked your iWeb examples, so I have a few follow-up questions about how to integrate this with iWeb.
    1) Do you use iWeb and .Mac/MobileMe to publish your site? I already own a domain and have been using google's online page creator tools to create some very basic pages. For picture pages, I just put up links to my Picasa web albums. But the google user interface and options (no FTP upload) are even more limited than iWeb and .Mac. With 20GB of storage, plus the other features and ability for integration, MobileMe sounds enticing for the price.
    2) At what point do you add the code to the pages in the edit and publish process? What are the exact steps you use to publish? (Create and edit in iWeb, add html code, publish to folder or publish straight to .Mac/MobileMe, etc.)
    3) If you make changes to pages in iWeb, do you have to keep adding the code to the pages and repeat the steps from above question?
    4) What app do you use to edit the html code? No html edit function in iWeb, so I tried opening the "page.html" files in TextEdit but the page just looked like a web page. No code. How do I get the text of the html code to open in TextEdit or another app?
    5) Do the lines of code (2 lines in "head" and 1 line in "body") need to be added to every page that I want to use the effect?
    6) How do you upload the two FancyZoom folders to a .Mac/MobileMe account site? And where exactly do they need to be placed?
    Thanks,
    TDizzle...

  • How do I create photo page with blow up images?

    I need some help trying to create a web page of photo thumbnails with blow-up larger images:
    1) I want to create a contact sheet type of web page of multiple photo thumbnails.
    2) When you click the photo it opens into a small window or "blow-up" version of the thumbnail. (Clicking the thumbnail does NOT take you to a new page with the full size image).
    3) The blow-up photo has a circle and X that will close the blow-up window.
    I've already figured out how create pages of thumbnails that will take you to a new page with the full size image. I'm trying to create the effect where you never leave the main page, the thumbnails just blow-up into small windows that can be closed again.
    Apple uses this effect a lot with photos and movie clips on their page. An example of what I am trying to do can be found on the iLife/iPhoto/MobileMe Gallery info page.
    http://www.apple.com/ilife/iphoto/#mobilemegallery
    If you look to the right just under the main large banner images, there is a grey box titled "iPhoto Showcase." If you click one of the thumbnails there, the picture blows out to a larger size of the image, but doesn't take you to another page. The blow-up image has a little circle and X at the top left to close the window. Main page is still visible behind the blow-up window.
    I think this post mentions what I'm trying to do, but they seem to be having problems getting it to work. I need help creating this effect from scratch.
    http://discussions.apple.com/thread.jspa?threadID=1609046
    I'm using a fairly new MacBook with OS 10.5, iPhoto and iWeb '08. I also have Aperture 2.0. I don't have a .Mac or MobileMe account yet. I'm a recent convert from the Darkside, so right now I use google's Picasa Web Albums and google's website creator for my site. If I can get this to work, I'll make the switch MobileMe once the early .Mac conversion kinks get worked out.
    Thanks,
    TDizzle...

    Cyclosaurus--
    That's the effect that I'm looking for. I've read through the instructions on Cabel's website (thanks for the great links!) But I'm afraid I'm still a bit of a novice with website creation and editing. I liked your iWeb examples, so I have a few follow-up questions about how to integrate this with iWeb.
    1) Do you use iWeb and .Mac/MobileMe to publish your site? I already own a domain and have been using google's online page creator tools to create some very basic pages. For picture pages, I just put up links to my Picasa web albums. But the google user interface and options (no FTP upload) are even more limited than iWeb and .Mac. With 20GB of storage, plus the other features and ability for integration, MobileMe sounds enticing for the price.
    2) At what point do you add the code to the pages in the edit and publish process? What are the exact steps you use to publish? (Create and edit in iWeb, add html code, publish to folder or publish straight to .Mac/MobileMe, etc.)
    3) If you make changes to pages in iWeb, do you have to keep adding the code to the pages and repeat the steps from above question?
    4) What app do you use to edit the html code? No html edit function in iWeb, so I tried opening the "page.html" files in TextEdit but the page just looked like a web page. No code. How do I get the text of the html code to open in TextEdit or another app?
    5) Do the lines of code (2 lines in "head" and 1 line in "body") need to be added to every page that I want to use the effect?
    6) How do you upload the two FancyZoom folders to a .Mac/MobileMe account site? And where exactly do they need to be placed?
    Thanks,
    TDizzle...

  • How do I link web pages in a Spry Image Slideshow using Dreamweaver CS5?

    I have used the Widget Browser to create the spry image slideshow and would like to link the large image displayed to a webpage? Is there any code or easy way to link the slideshow images to webpages?
    Thanks in advance for any help!

    Hans-G; thanks for the code. I am not sure where to place the code. When I insert the widget spry image slideshow, I get the following below. Where shall I place the code, thanks again:
    <ul id="ImageSlideShow_3" title="Donald Booth Photography">
      <li><a href="http://labs.adobe.com/technologies/spry/ui/images/dbooth/images/photos-1.jpg" title="White Orchids"><img src="http://labs.adobe.com/technologies/spry/ui/images/dbooth/thumbnails/photos-1.jpg" alt="photos-1.jpg" /></a></li>
      <li><a href="http://labs.adobe.com/technologies/spry/ui/images/dbooth/images/photos-10.jpg" title="Sand"><img src="http://labs.adobe.com/technologies/spry/ui/images/dbooth/thumbnails/photos-10.jpg" alt="photos-10.jpg" /></a></li>
      <li><a href="http://labs.adobe.com/technologies/spry/ui/images/dbooth/images/photos-11.jpg" title="Tree"><img src="http://labs.adobe.com/technologies/spry/ui/images/dbooth/thumbnails/photos-11.jpg" alt="photos-11.jpg" /></a></li>
      <li><a href="http://labs.adobe.com/technologies/spry/ui/images/dbooth/images/photos-12.jpg" title="Canon"><img src="http://labs.adobe.com/technologies/spry/ui/images/dbooth/thumbnails/photos-12.jpg" alt="photos-12.jpg" /></a></li>
      <li><a href="http://labs.adobe.com/technologies/spry/ui/images/dbooth/images/photos-13.jpg" title="Door"><img src="http://labs.adobe.com/technologies/spry/ui/images/dbooth/thumbnails/photos-13.jpg" alt="photos-13.jpg" /></a></li>
      <li><a href="http://labs.adobe.com/technologies/spry/ui/images/dbooth/images/photos-14.jpg" title="Flowers at the Palace of Fine Arts"><img src="http://labs.adobe.com/technologies/spry/ui/images/dbooth/thumbnails/photos-14.jpg" alt="photos-14.jpg" /></a></li>
      <li><a href="http://labs.adobe.com/technologies/spry/ui/images/dbooth/images/photos-15.jpg" title="Palace of Fine Arts"><img src="http://labs.adobe.com/technologies/spry/ui/images/dbooth/thumbnails/photos-15.jpg" alt="photos-15.jpg" /></a></li>
      <li><a href="http://labs.adobe.com/technologies/spry/ui/images/dbooth/images/photos-2.jpg" title="Orchid Close Up"><img src="http://labs.adobe.com/technologies/spry/ui/images/dbooth/thumbnails/photos-2.jpg" alt="photos-2.jpg" /></a></li>
    </ul>

  • Is there a reliable way to determine if the content of a page is a jpeg image?

    I have a need to readily detect that the content of a particular page is a JPEG image.......
    Is there a way to ascertain this as I am processing each page ?

    I see - something more like the following code ? -
    Thanks Leonard - I can see that this will take a while but - it is good to know that I am on the right path to start out.
    I suppose that I can use the dump type to see what a jpeg looks like , etc.
    Thanks again .
    AVDoc avDoc = AVAppGetActiveDoc();
    AVPageView pageView = AVDocGetPageView(avDoc);
    PDPageNumber pageNum = AVPageViewGetPageNum(pageView);
    /* Bridge method to PD doc*/
    PDDoc pdDoc = AVDocGetPDDoc(avDoc);
    /* Acquire current page */
    PDPage pdPage = PDDocAcquirePage(pdDoc, pageNum);
    PDEContent pdeContent = PDPageAcquirePDEContent(pdPage, gExtensionID);
    //Declare a PDEElement object
    PDEElement pdeElement;
    //Get the number of elements in the PDEContent object
    ASInt32 eleNum =  PDEContentGetNumElems(pdeContent);
    //Get each element in the PDEContent object
    for (int j=0; j<eleNum; j++){
         pdeElement = PDEContentGetElem(pdeContent, j);
    //Determine if the element is a the type that we are looking for     if (PDEObjectGetType((PDEObject)pdeElement) == MatchingType
         //Perform a required action

  • How to open-up a pdf file to a particular page via java? (file and page number from another program)

    I have created an Access 2003 Form. Data is entered. The data can be viewed once entered in the same form format, with one addition. The addition is a link to another program where we store files. The files stored are pdf documents. Each document is a scanned file (500+ pages). The link can open-up the pdf file. I want the link to open-up the pdf file to a particular page. I will supply the page number from the database.
    I am aware of Adobe Acrobat 7.0 PDF Open Parameters using a URL that specifies the file to be opened plus actions to be performed once the file is openend (i.e. http://example.org/doc.pdf#page=3). However, the 3rd party program transfers a file from a server to the client via java. The file does not go via a web browser. The java code transfer the file directly from the file server to the the client.
    Any idea how to accomplish the task of viewing a particular page with the process flow described?
    I am using Adobe Acrobat 7.0 Professional.

    So you are reading this file in a standalone version of Acrobat? If so then use the PDF Open Parameters /a option via the command line.
    Sabian
    Example:
    C:\Program Files\Adobe\Acrobat 7.0\Acrobat>Acrobat.exe /A "zoom=1000=OpenActions" "C:\Program Files\Adobe\Acrobat 7.0\Acrobat\SimpleSubmit.pdf"
    Where:
    Path to Acrobat: C:\Program Files\Adobe\Acrobat 7.0\Acrobat>Acrobat.exe
    Note: The example starts in the Acrobat application directory
    Switch: /A
    Parameter Syntax: "zoom=1000=OpenActions"
    Path to file: "C:\Program Files\Adobe\Acrobat 7.0\Acrobat\SimpleSubmit.pdf"
    Note: The quotes are very important for the syntax to work appropriately.

  • HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS

    HI,
       HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS?

    in ur script main window
    /: IF &TTXSY-PAGE& = 15.              
    ur text or standard text           
    /: ENDIF.                             
    use this.
    hope it helps if any issues revert back

  • How can one print a particular page or pages from a Word Document using ActiveX or any other technique?

    I've been trying to print  a few pages from a Word document.
    Currently I am able to print the entire document using some ActiveX techniques.
    There seems to be facilities for selecting the particular pages, however so far I cannot get them to work.
    I have tried the From/To and the Pages in the PrintOut invoke node.
    And as you will see I have also tried the Range node.
    Anyone have some ideas on how to do this?
    Please see the attached vi.
    Thanks,
    Chris
    Attachments:
    ActiveX Print.vi ‏15 KB

    Please stick to your original post.
    Please have some patience.

  • How to create pageInstance for a Particular page using page lable?

    Hi,
    Please guide me on how to create a PageInstance Object for a Particular page , if we got the pagelabel.
    Thanks in advance.

    You need to write a logic, show header and footer when the particular is page is hit.
    <jsp:directive.page import="com.bea.netuix.servlets.controls.application.DesktopPresentationContext,
    com.bea.netuix.servlets.controls.page.PagePresentationContext"/>
    <jsp:scriptlet>
    DesktopPresentationContext desktopCtx = DesktopPresentationContext.getDesktopPresentationContext(request);
    BookPresentationContext mainBookCtx = desktopCtx.getBookPresentationContext();
    String activeBookDefLabel = mainBookCtx .getActivePage();
    BookPresentationContext activeBookCtx = mainBookCtx.getBookPresentationContextRecursive(activeBookDefLabel);
    String activeBookTitle = activeBookCtx.getTitle();
    String activePageDefLabel = activeBookCtx.getActivePage();
    PagePresentationContext activePageCtx = activeBookCtx.getPagePresentationContextRecursive(activePageDefLabel);
    String activePageTitle = activePageCtx.getTitle();
    if(!activePageTitle.equals("whatyouwant"){
    </jsp:scriptlet>
    HEADER
    <jsp:scriptlet>}</jsp:scriptlet>

  • How to Print Particular Page in Smartform

    Hi ,
         Anyone Give me steps to Print Particular Page when Printing Several Forms in One Print Request .
        Am Using smartform Within the Loop , So  i Used SSF_OPEN And SSF_CLOSE. When am printing the Smartform i gave particular    Page in Dialog Box , But all the pages are Printed.
        Please Help me to Solve this Problem.
    With Regrds
    Kesavaperumal

    Hi Kesav,
    You can do this in Print Control Dialog, when you give printer name as LP01 or LOCL , just below that, one input field 'Page Selection' is available,
    You can give like
    Pages selected for printing
    You can define which pages should be output in the page selection.
    All pages are printed if an entry is not made here.
    You can either specify individual pages or a range of pages. These entries are separated by a comma.
    Examples:
    4     only page 4
    2-5   pages 2 to 5
    -20   up to and including page 20
    3-    from and including page 3
    4,8-10,15-   pages 4, 8 to 10, and page 15 onwards.
    And If you need to control the rpinted copies from the program , you can try with the OUTPUT_OPTIONS-TDPAGESLCT parameter of Functionmodule (which is generated from Smartform).
    Hope this solves your issue
    Rgds,
    Sripal

  • How do I: Force a redirect when users navigate to a particular page

    We have customized the "My Communities" dropdown so their pages fly-out when the community is moused over.
    I've been asked to find a way to essentially redirect the portal to something different when a user selects a particular page.
    Rather than hardcoding various conditions into the header (if Community=b and page=a then redirect), I'm wondering if there is a way to redirect folks from a portlet on the particular page?

    from a portlet you can write out javascript and do a window.location if thats what you're looking for.
    -robert

Maybe you are looking for

  • 7/8/2014 - Beta - Flash Player 14.0.0.146

    The latest Flash Player 14 beta builds are now available.  Beta builds can be downloaded from labs.adobe.com. New Features for Flash Player 14: Preview: PPAPI Debugger for Mac OS X and Windows An early preview of the PPAPI content debugger is availab

  • Step by step process for taking oracle back up on solaris

    Hi Can you please explain me step by step process for taking oracle back up on solaris. as well as i don't know about RMAN . what is this how to install this. whenever i am typing the rman in solaris $ rman rman not found is comming please help me in

  • Basic smart objects questions

    I dragged some images from my desktop into a PS document and they come in as Smart Objects. 1. Is there a way to control whether they come in as smart objects or not? 2. When does it become a smart object vs, not?' Thanks.

  • MBP 15' Volume issues & shut down OSX Yosemite

    I just purchased MBP 15' spent 4K total 1TB SSD and did my Time Machine Restore of my previous system and now i'm having Volume control issues With Volume button not controlling Volume at all and when i try to Log out of user account  to shut down th

  • Help!! New Vista 64 bit computer - Lightroom slow communication with CS3

    I have just installed Vista Ultimate 64 bit on a new computer. (Intel quadcore Q6700, 4 gigs memory, 3 internal sata hard drives, 2 external hard drives). When I go to edit in CS3 from Lightroom it seems to hang up going to CS3 (and PSE 6)- there is