TIFF Viewer

I can't view TIFF files, specifically at < <a class="jive-link-external-small" href="http://">http://www.originsnetwork.com/help/popup-helpimages.htm > Sorry, can't remember how to make link clickable.
This link explains what I am trying to do. I have followed all instructions, & finally installed Accel View TIFF demo internet plug-in. Nothing I do will work with Safari. I went to QuickTime & unchecked the TIFF Viewer box, incase there was a conflict, to no evail. The plug-in will work with Internet Explorer, but it is quite expensive. Graphic Converter also will work with IE, but it is a bit of a hassle &, I want to use Safari. Any ideas most appreciated, Thanks, Colleen

Collen,
Thanks for the reply I did look at the page you linked us to, which is for troubleshooting the plugin, just wanted to make sure I understood so the images you need to view are on this web site
Did you place the Plug in the Internet Plug-Ins folder found in HD/Library/Internet Plugins folder, then do a reboot.
See if that helps any.
edited by: Eme additionally it seems the web site has this alernate method in viewing without the plug in, if they chose to ? by using a Java applet,
http://www.acordex.com/browseProd/VTplugin.html
see the bottom of this page ^

Similar Messages

  • Use TIFF-Viewer (ActiveX) in ABAP-Programm

    Hy all,
    I am looking for a Viewer for TIFF-documents that can be used in a ABAP-Container.
    The Viewer should offer methods or parameters to get the zoom-area, that the user has selected, and to set the same zoom-area in the next document that will be opened.
    I found some TIFF-Viewers (BravaX, CADViewX from Softgold ...) that work but all of them have the problem, that the wanted function with the zoom-area doesn´t work exactly.
    Have anyone of you made well experience with a TIFF-Viewer in SAP?
    Thanks a lot for help.
    Harry

    check out this weblog.
    [Using Classic ActiveX Controls in the ABAP Control Framework|/people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework]

  • Tiff viewer for text files.

    I recently purchased an iPad 3. I need to view and sign tiff files that are text form sent from my office. How can I save them and send them back? The only information I can find so far are referring to picture files. What type of app do I need?

    All I could find is a tiff viewer:
    http://appshopper.com/productivity/tiff-fax-viewer
    There are computer apps that can convert them to PDFs and there are many PDF readers apps for the iPad that allow you to sign/annotate PDFs. GoodReader is one. There is also PDF Annotate.

  • Unaasociating TIFF viewing with Quicktime

    After installing Quicktime for Windows it automatically associated Tiff viewing in IE. I do not wish to have Quicktime handle my TIFF viewing needs. I would rather use Windows picture and fax viewer but even if I change the default association in folder settings it still opens in IE which I guess wouldn't be a problem but when I print them from IE it prints a blank page. I have turned on print background image in IE thinking tha would resolve the problem but still nothing. How can I restore the file association to Windows picture and fax viewer?

    QuickTime Control Panel Browser tab MIME Settings
    Under Images - Still Images remove the check mark for TIFF
    Quit and relaunch your browser for these changes to take effect.

  • Need Multi-Page TIFF Viewer Add-In for Safari

    Greetings - Any recommendations on a (preferably free of charge) multi-page TIFF viewer add-on for Safari?
    Thanks.

    Sorry for the delayed reply as I cannot access from work.
    Here is the link to the tool...
    [http://www.daeja.com/products/viewone1.asp]
    Here is what I did so far:
    I copied ViewONE files to my \forms\java directory
    Added the ViewONE ji.jar reference to my 'archive_jini' parameter in formsweb.cfg
    Create a Bean item on my form
    Added 'ji.applet.jiApplet.class' to my Implementation class property for item
    when I invoke the layout, I get the following error:
    FRM-13008 Cannot find JavaBean with name 'ji.applet.jiApplet.class'.
    Appreciate any info to get this going.

  • Tiff Viewer which disables print, copy and save TIFF file

    I am looking TIFF Viewer solution which woul disable any print, save and copy functions for a TIFF file. Thisfunctionality is available for PDF but I need to disable print, copy and save for TIFF files.
    Would anyone know a TIFF viewer or solution that supports the following functions:
    1)      TIFF viewer where we can turn off any options to print the TIFF file or save it to disk.  That would include disabling any options where the user could right click on the TIFF and save the file somewhere else.
    2)      It would need to be able to open multi-page TIFFs. 
    3)      It would be nice if the TIFF viewer could be run on both Mac and Windows platforms.
    I need to send files to users for view only, and these should be in TIFF fomat, not converted into a PDF.
    Thank you for your help.
    Regards,
    Sapna

    The same answer applies to any kind of file.
    You need a Digital Rights Management solution. Very expensive.

  • Is their a Tiff viewer compatible with the US Patent Office Web Site?

    Viewing image files of pre-1948 patents at the USP&TMO site requires a compatible Tiff file viewer. The one built into FF4 and previous versions does not work. Is there a plug-in for this? In the past AccelViewTiff worked. Quicktime doesn't work except on Safari.
    Mac OS X 10.5.8

    No luck. I installed ToyViewer and instructed Firefox to use ToyViewer to view Tiff files, but it does not appear to work on the Patent Office site. The PO apparently uses some weird compression scheme that most Tiff viewers cannot handle. It was designed for the Netscape browser. Perhaps some kind patent junky will build a plug-in for Firefox that displays the Patent images? : )

  • My iPhone is trying to open PDF Mail attachments with tiff viewer

    I receive my faxes via email. They are delivered as PDF files. Sometimes when I try to open them on my iPhone, it says that it cannot open the tiff file. The attachment is clearly named with a .pdf file extension, but the iPhone still tries to open it as a tiff. Other PDFs open fine, but it treats these as if they are tiff files.

    George is correct. XFA forms (which the mobile Reader does not support) are often built with a generic error (like the one described) page that displays for Readers that do not support these document types.

  • How can I get back to the standard .TIFF viewer in my browser ?

    Hello,
    I have installed iTune on my PC. Since then I can no longer use the standard MSW picture viewer. This one allows me to rotate and resize pictures, and I cannot do this with QT. How can I get back ? I tried to use the "External module management" of my browser, but it was useless.
    Thanks for your help,
    Thierry

    I am speaking of the browser situation. And I did the uncheck, on both "MIME" and "File Types" panes, without success. I even tried to restart my computer, and I still have this f... Quicktime coming ! Sorry. But for once that an MS product worked well for my needs, beeing ennoyed by an Apple one turns me a bit angry !
    Thierry

  • Thumbnails/Previews not showing on tiffs viewed on Mac

    I have a client who is asking me why the tiffs I'm supplying him with don't have thumbnails/previews. He's working an a Mac and has had to resave the files in order to create previews. I haven't been able to answer his question. Any takers? TIA. PShop CS4 / Windows XP.

    Well, Photoshop does offer the ability to choose not to save thumbnails/previews...  Check Edit - Preferences - File Handling.  What's your setting?
    -Noel

  • Applet tiff viewer

    hi,
    Can any body give some sample code or idea how can display tiff image or tiff file in a web browser.
    Thanks in advanced.

    i have a code here displaying single tiff file in directory
    can i put it in an iframe of a html/jsp file?(correct me if im wrong)
    how does it done?
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.image.renderable.ParameterBlock;
    import java.io.File;
    import java.io.FilenameFilter;
    import java.net.URL;
    import javax.media.jai.InterpolationNearest;
    import javax.media.jai.JAI;
    import javax.media.jai.PlanarImage;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JSlider;
    import javax.swing.JTextField;
    import javax.swing.event.ChangeEvent;
    import javax.swing.event.ChangeListener;
    import com.sun.media.jai.widget.DisplayJAI;
    * @author Sherwin_Macatangay
    public class TIFFViewer extends JFrame {
         private static final long serialVersionUID = 1L;
         String currentFile;
         private String DIRECTORY;
         private int currentPage;
         private int pageCount;
         private File F_DIRECTORY;
         private File tiff;
         private Container cPane;
         private JScrollPane display;
         private JPanel topBar;
         private JLabel unReadable;
         public JLabel pageCounter1;
         public JTextField pageCounter2;
         private JLabel pageCounter3;
         private JSlider slider;
         private DisplayJAI Dpanel;
         // private RenderedImage tiffFile;
         private PlanarImage tiffImage; // the original TIFF image
         // constructor
         public TIFFViewer() {
              // TODO Auto-generated constructor stub
         @SuppressWarnings("deprecation")
         public TIFFViewer(String directory) {
              // TODO Auto-generated constructor stub
              DIRECTORY = directory;
              F_DIRECTORY = new File(DIRECTORY);
              if (F_DIRECTORY.isDirectory()) {
                   getPageCount();// get the count of file(s) in a directory
                   for (File file : F_DIRECTORY.listFiles()) {
                        if (file.getName().toLowerCase().endsWith(".tif")) {
                             tiff = file;
                             //tiff = fileTIFF;
                             javax.swing.JOptionPane.showMessageDialog(null, "Tiff: "
                                       + tiff);
                             break;
                        }else{
                             newImage(tiff);     
                   //newImage(tiff);
                   PlanarImage image = JAI.create("fileLoad", tiff.getAbsolutePath());
                   if (image == null) {
                        System.out.println("image " + image);
                        Scale(image);
                   } else {
                        Scale(image);
                   currentPage = 1;
                   pageCounter2 = new JTextField(currentPage);
                   pageCounter3 = new JLabel("of " + pageCount);
              initViewer();
              return;
         }// end TIFFViewer()
         * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              TIFFViewer TW = new TIFFViewer();
              TW.begin("./web content/images/layout/");
         }// end main()
         public void begin(String args) {
              // We need one argument: the TIFF directory.
              if (args.length() == 0) {
                   System.err.println("Usage: java operators.TIFFViewer image");
                   javax.swing.JOptionPane.showMessageDialog(null,
                             "Usage: java operators. TIFFViewer image");
                   System.exit(0);
              new TIFFViewer(args);
         }// end begin()
         public void initViewer() {
              cPane = getContentPane();
              cPane.setLayout(new BorderLayout());
              topBar = new JPanel();
              topBar.setLayout(new FlowLayout(FlowLayout.LEADING, 0, 0));
              // setup page display and changer
              Component[] itemsToAdd = initChangerPanel();
              for (int i = 0; i < itemsToAdd.length; i++) {
                   topBar.add(itemsToAdd);
              cPane.add(topBar, BorderLayout.NORTH);
              display = new JScrollPane();
              if (tiffImage == null) {
                   unReadable = new JLabel(
                             "The file is unreadable or there's no file!");
                   display = new JScrollPane(unReadable);
              } else {
                   Dpanel = new DisplayJAI(tiffImage);
                   display = new JScrollPane(Dpanel);
              cPane.add(display, BorderLayout.CENTER);
              // pack();
              // setSize(800,700);
              setTitle(tiff.getName());
              setSize(getToolkit().getScreenSize().width, 700);
              setLocationRelativeTo(null);// center on screen
              setVisible(true);
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         }// end initViewer()
         public void getPageCount() {
              FilenameFilter filter = new FilenameFilter() {
                   public boolean accept(File dir, String name) {
                        return name.toLowerCase().endsWith(".tif");
              String[] children = F_DIRECTORY.list(filter);
              pageCount = children.length;
         }// end getTIFFPageCount()
         private Component[] initChangerPanel() {
              Component[] list = new Component[10];
              // Create the start button and set icon
              /** start page */
              JButton start = new JButton();
              start.setBorderPainted(false);
              URL startImage = getClass()
                        .getResource("/winmac/gui/generic/start.gif");
              start.setIcon(new ImageIcon(startImage));
              start.setText("Start");
              start.setToolTipText("Back to start page");
              list[0] = start;
              start.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        if (currentPage != 1) {
                             currentPage = 1;
                             FilenameFilter filter = new FilenameFilter() {
                                  public boolean accept(File dir, String name) {
                                       return name.toLowerCase().endsWith(".tif");
                             int i = currentPage;
                             File filename;
                             File[] startTiff = F_DIRECTORY.listFiles(filter);
                             if (i == i) {
                                  // Get filename of file
                                  filename = startTiff[i - 1];
                                  tiff = filename;
                                  newImage(tiff);
                             // set page number display
                             pageCounter2.setText(String.valueOf(currentPage));
              /** back 1 page */
              JButton back = new JButton();
              back.setBorderPainted(false);
              URL backImage = getClass().getResource("/winmac/gui/generic/back.gif");
              back.setIcon(new ImageIcon(backImage));
              back.setText("Back");
              back.setToolTipText("Back page");
              list[1] = back;
              back.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        if (currentPage > 1) {
                             // currentPage -= 1;
                             currentPage--;
                             FilenameFilter filter = new FilenameFilter() {
                                  public boolean accept(File dir, String name) {
                                       return name.toLowerCase().endsWith(".tif");
                             int i = currentPage;
                             File filename;
                             File[] backTiff = F_DIRECTORY.listFiles(filter);
                             if (i == i) {
                                  // Get filename of file
                                  filename = backTiff[i - 1];
                                  tiff = filename;
                                  newImage(tiff);
                             // set page number display
                             pageCounter2.setText(String.valueOf(currentPage));
              // Create the pageCounter1, pageCounter2 and set its labels
              pageCounter1 = new JLabel("Page");
              list[2] = pageCounter1;
              list[3] = new JPanel();
              // Create the pageCounter2 and set its labels
              pageCounter2 = new JTextField(5);
              pageCounter2.setEditable(true);
              pageCounter2.setText(String.valueOf(currentPage));
              list[4] = pageCounter2;          
              /**pageCounter2.addKeyListener(new KeyAdapter(){
                   public void keyReleased(KeyEvent me){
                        FilenameFilter filter = new FilenameFilter() {
                             public boolean accept(File dir, String name) {
                                  return name.toLowerCase().endsWith(".tif");
                        int i = Integer.parseInt(pageCounter2.getText());
                        System.out.println(i);
                        File filename;                    
                        File[] getTiff = F_DIRECTORY.listFiles(filter);
                        if (i==i){
                             filename = getTiff[i-1];
                             tiff = filename;
                             newImage(tiff);
              list[5] = new JPanel();
              list[6] = pageCounter3;
              /** next one page */
              JButton next = new JButton();
              next.setBorderPainted(false);
              URL nextImage = getClass().getResource("/winmac/gui/generic/next.gif");
              next.setIcon(new ImageIcon(nextImage));
              next.setText("Next");
              next.setToolTipText("Next page");
              list[7] = next;
              next.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        if (currentPage < pageCount) {
                             // currentPage += 1;
                             FilenameFilter filter = new FilenameFilter() {
                                  public boolean accept(File dir, String name) {
                                       return name.toLowerCase().endsWith(".tif");
                             int i = currentPage;
                             File filename;
                             File[] nextTiff = F_DIRECTORY.listFiles(filter);
                             if (i == currentPage) {
                                  // Get filename of file
                                  filename = nextTiff[i];
                                  tiff = filename;
                                  newImage(tiff);
                             currentPage++;
                             // set page number display
                             pageCounter2.setText(String.valueOf(currentPage));
              /** end page */
              JButton end = new JButton();
              end.setBorderPainted(false);
              URL endImage = getClass().getResource("/winmac/gui/generic/end.gif");
              end.setIcon(new ImageIcon(endImage));
              end.setText("End");
              end.setToolTipText("End page");
              list[8] = end;
              end.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        if (currentPage < pageCount) {
                             currentPage = pageCount - 1;
                             FilenameFilter filter = new FilenameFilter() {
                                  public boolean accept(File dir, String name) {
                                       return name.toLowerCase().endsWith(".tif");
                             int i = currentPage;
                             File filename;
                             File[] endTiff = F_DIRECTORY.listFiles(filter);
                             if (i == currentPage) {
                                  currentPage = pageCount;
                                  // Get filename of file
                                  filename = endTiff[i];
                                  tiff = filename;
                                  newImage(tiff);
                             // set page number display
                             pageCounter2.setText(String.valueOf(currentPage));
              /** slider */
              slider = new JSlider(600, 12000, 12000);
              slider.setToolTipText("Scale image");
              list[9] = slider;
              slider.addChangeListener(new ChangeListener() {
                   public void stateChanged(ChangeEvent e) {
                        // If interactivity is off and we're still adjusting, return.
                        // Gets the scale (converting it to a percentage)
                        float scale = slider.getValue() / 12000f;
                        // Scales the original image
                        ParameterBlock pb = new ParameterBlock();
                        pb.addSource(tiffImage);                    
                        pb.add(scale);
                        pb.add(scale);
                        pb.add(0.0F);
                        pb.add(0.0F);
                        pb.add(new InterpolationNearest());
                        // Creates a new, scaled image and uses it on the DisplayJAI
                        // component
                        PlanarImage scaledImage = JAI.create("scale", pb);
                        Dpanel.set(scaledImage);
              return list;
         }// end initChangerPanel()
         public void Scale(PlanarImage image) {
              try {
                   tiffImage = image;
              } catch (Exception e) {
                   System.err.print("Scale " + e.getMessage());
         }// end Scale()
         public void newImage(File tiff) {
              // javax.swing.JOptionPane.showMessageDialog(null, "TIFF FILE:" + tiff);
              setTitle(tiff.getName());
              PlanarImage image = JAI.create("fileLoad", tiff.getAbsolutePath());
              Dpanel.set(image);
              Scale(image);
         }// end newImage()
    }// end class TIFFViewer

  • Quicktime plugin in FireFox 3.6 not viewing TIFFs?

    I just upgraded to FF 3.6, and now all of the sudden neither my own TIFF viewing plugin (AccelViewTIFF) nor Quicktime will view TIFF files.
    has anyone experienced this?

    I am having the similar problem, and have duplicated it on TWO computers, both pentiums w/ Windows OS, but otherwise very different as one is my home machine which I manage, and the second is a company-provided laptop managed by the IT department.
    General Config: Firefox 3.5.8, QuickTime PlugIn 7.6.5
    General Prob Description: On certain websites, embedded tiff images are not displayed. Briefly shown is the blue Q, but then blank.
    Details: This began when trying to view images at the US Patent Office website (e.g. http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=% 2Fnetahtml%2FPTO%2Fsrchnum.htm&r=1&f=G&l=50&s1=6040531.PN.&OS=PN/6040531&RS=PN/6 040531 then click on images). I went through the process of installing QuickTime, and set it to be the preferred plugin for tiff images within FF (under MIME of the 'browser' tab). I was able to display the image on the mozilla tiff test page ( http://plugindoc.mozdev.org/testpages/tiff.html ), but still had the same problem at the patent office.
    Upon researching on the Web, I found several interesting pieces of information (but no solution). These were
    1. Others having same/similar problem that posted to the Mozilla support sight:
    a) Response suggested using alternatiff ( http://support.mozilla.com/tiki-viewforum_thread.php?locale=si&commentsparentId=504396&forumId=1 )
    b) No response with a solution ( https://support.mozilla.com/tiki-viewforum_thread.php?comments_offset=0&comments_threadId=0&comments_parentId=19528&c omments_threshold=0&thread_sort_mode=commentDate_asc&forumId=1&timecontrol=172800 )
    2. Again from the mozilla support page, another had the same problem, coincidentally at the USPTO web site that I first saw the problem ( https://support.mozilla.com/en-US/forum/1/521626?s=tiff%20browser ). The solution was to use another plug-in (AlternaTIFF - www.alternatiff.com ). I did not try this, thinking that someone at Apple will catch thread (and note the number of occurrences of the issues) and offer some response, hopefully a solution.
    3. On the web, I again ran across the same problem and again relating to accessing images at the USPTO ( http://inventblog.com/business-and-tech-tips/quicktime-tif-and-uspto-images.html ). I don't think this guy likes Apple, and basically the proposed solution was again to disable QT and use something else. However, it lead to another site with additional insight.
    4. The link to the site references in #3 didn't work, but I was able to find it via search ( http://www.sos.idaho.gov/tiffhelp.htm ). The point made there that was informative: "If you have QuickTime installed, you will have to disable the QuickTime plugin for TIFF's. While QuickTime does support the TIFF file format it does not support compression formats used in TIFFs. Furthermore, QuickTime will only display the first page of a multipage TIFF document." However the link to Apple's support page where there may have been some help did not work. Note again, this site suggest uninstalling QuickTime.
    5. The Idaho site had a link to some web site at Microsoft that looked promising, but alas couldn't find it. However, I found another "test sight" that will duplicate the problem of brief blue Q, then a blank image ( http://www.secondchair.com/Help/HelpTIFF.html ).
    Finally, I forgot to mention what the USPTO site had to say about tiff files ( http://www.uspto.gov/faq/plugins/tiff.jsp ). Now this sounds like old info based on the version, but QuickTime is not suggested for windows.
    And one last piece of info . . . I can save the image to disk, and open with QuickTime (not in FF as a plug-in, but as the stand-alone app). I can also do a "save as" in FF for a page with a non-displaying tiff, and when I open the save file the image displays properly.
    OK, Apple . . . time to step up. Please don't give me a "try this" or "did you do that?" or "reinstall ....." as I've done more than enough than I should have to . . . and instead will simply get alternatiff, or something else. While this may not be a QT issue, it does seem to be related to how QT works in FF (and perhaps other browsers and applications).

  • Acrobat 9 automatically converts .TIFF files to .PDF - how do I disable?

    Why is Acrobat 9 opening .TIFF files as a .PDF? I would like it to remain a .TIFF instead of autmoatcailly converting to a .PDF. This happens when I click on .TIFF images on the web, or save them as a .TIFF locally. I've not found an option under preferences that would toggle this. The dozen or so other workstations here do not behave this way (we have to go through a print-to-PDF converting process if we want to convert). Thanks!

    Thanks for the fast reply! I checked and confirmed there are no TIFF viewer programs installed aside from Acrobat (and the defaul Microsoft Picture Viewer and Microsoft Document Viewer). Acrobat 9 is the default TIFF and TIF viewer too. Not much is installed on this machine. Here is a screen capture of the programs.

  • Rendering Tiff File

    I am trying to view Tiff file, but the problem that it is not clear view
    I mean it is very bad look, not like view it in another Tiff viewer.
    and also it is too big, I mean the width and hight.
    any way, this is my code:-
    public void ReadingTiffFile()
    String strFileName = "d:\\b.tif";
    File file = new File(strFileName);
    SeekableStream s = null;
    try
    s = new FileSeekableStream(file);
    TIFFDecodeParam param = new TIFFDecodeParam();
    ImageDecoder dec = ImageCodec.createImageDecoder("tiff", s, param);
    RenderedImage img = dec.decodeAsRenderedImage(0);
    JFrame frm = new JFrame();
    frm.getContentPane().add(new PnlTiffGraphicsView(img));
    catch (IOException ex1)
    System.out.println("Error While Rending Images");
    public class PnlTiffGraphicsView extends JPanel
    RenderedImage img = null;
    public PnlTiffGraphicsView(RenderedImage img1)
    img = img1;
    public synchronized void paintComponent(Graphics g)
    gg.drawRenderedImage(img, new AffineTransform());
    Many thanks in Advanced.

    I found this code somewhere online... I took a few snippets from it to form my own methods that accepted image paths... Hope it helps.
         import java.awt.Frame;
         import java.awt.RenderingHints;
         import java.awt.image.DataBuffer;
         import java.awt.image.renderable.ParameterBlock;
         import java.io.IOException;
         import javax.media.jai.JAI;
         import javax.media.jai.LookupTableJAI;
         import javax.media.jai.RenderedOp;
         import com.sun.media.jai.codec.FileSeekableStream;
         import com.sun.media.jai.codec.TIFFDecodeParam;
         import javax.media.jai.widget.ScrollingImagePanel;
         public class LookupSampleProgram {
             // The main method.
             public static void main(String[] args) {
         // Validate input.
         // Create an input stream from the specified file name to be
         // used with the TIFF decoder.
                 FileSeekableStream stream = null;
                 try {
                     stream = new FileSeekableStream("C:\\my.tiff");
                 } catch (IOException e) {
                     e.printStackTrace();
                     System.exit(0);
         // Store the input stream in a ParameterBlock to be sent to
         // the operation registry, and eventually to the TIFF
         // decoder.
                 ParameterBlock params = new ParameterBlock();
                 params.add(stream);
         // Specify to TIFF decoder to decode images as they are and
         // not to convert unsigned short images to byte images.
                 TIFFDecodeParam decodeParam = new TIFFDecodeParam();
                 decodeParam.setDecodePaletteAsShorts(true);
         // Create an operator to decode the TIFF file.
                 RenderedOp image1 = JAI.create("tiff", params);
         // Find out the first image's data type.
                 int dataType = image1.getSampleModel().getDataType();
                 RenderedOp image2 = null;
                 if (dataType == DataBuffer.TYPE_BYTE) {
         // Display the byte image as it is.
                     System.out.println("TIFF image is type byte.");
                     image2 = image1;
                 } else if (dataType == DataBuffer.TYPE_USHORT) {
         // Convert the unsigned short image to byte image.
                     System.out.println("TIFF image is type ushort.");
         // Setup a standard window-level lookup table. */
                     byte[] tableData = new byte[0x10000];
                     for (int i = 0; i < 0x10000; i++) {
                         tableData[i] = (byte)(i >> 8);
         // Create a LookupTableJAI object to be used with the
         // "lookup" operator.
                     LookupTableJAI table = new LookupTableJAI(tableData);
         // Create an operator to lookup image1.
                     image2 = JAI.create("lookup", image1, table);
                 } else {
                     System.out.println("TIFF image is type " + dataType +
                                        ", and will not be displayed.");
                     System.exit(0);
         // Get the width and height of image2.
                 int width = image2.getWidth();
                 int height = image2.getHeight();
         // Attach image2 to a scrolling panel to be displayed.
                 ScrollingImagePanel panel = new ScrollingImagePanel(
                                                 image2, width, height);
         // Create a frame to contain the panel.
                 Frame window = new Frame("Lookup Sample Program");
                 window.add(panel);
                 window.pack();
                 window.show();
         }-sal

  • Is there something wrong with Quicktime and TIFFs?

    I've been trying to see with Firefox the TIFF images of patents at the USPTO site and I can't. The browser advises me to install the missing plug-in although Quicktime is already installed. I wonder if it's a Quicktime problem or a Firefox one. I have a reason to believe there's something wrong with Quicktime though. Read on to see why.
    On my system the *TIFF Image Test* (from mozdev.org) fails although I have the latest Quicktime plug-in. This happens regardless of the browser I use, all latest editions: Firefox 3.6, Internet Explorer 8 (both 32-bit and 64-bit versions) and Chrome 4. All seem to fail to recognize the presence of the installed Quicktime although my Windows OS is set to open TIF/TIFF files with Quicktime/PictureViewer.
    Running about:plugins on my Firefox does show the Quicktime plug-in for a variety of files but NOT for opening embedded TIF/TIFFs. Also, when I open *Tools -> Options -> Applications* I see there is no registered handler for TIF/TIFFs. They don't appear on the known Content Types.
    Is there something wrong with the installation of Quicktime? I can see USPTO TIFF images only with Safari which appears to have an integrated TIFF viewer. I haven't tried to install alternatiff or any other alternative TIFF handler.

    DocBAZ,
    I tried to visit the "test site" above. I'm not really sure it's an embedded image on a HTML page because I get a Firefox download window and a suggestion to open it with PictureViewer, which is the expected behavior for downloadable images. The mozdev.org test page on the other hand had an embedded image that needed the plugin, which is what is bugging me.
    If you want a real complex test page with both an embedded TIFF and a downloadable one check AlternaTIFF here: http://www.alternatiff.com/testpage.html
    Indeed the changes I made were in the QuickTime preferences, not PictureViewer which has no settings to change. And yes, Windows 7 has a unique place to deal with file types and MIME settings.
    You will find some interesting suggestions over the problem at SuperUser.
    http://superuser.com/questions/107142/uspto-site-asks-for-quicktime-plug-in-whic h-i-already-have-installed-why

Maybe you are looking for

  • Lock-ups on MCS-7825 after after OS Upgrade to 2000.4.4aSR6

    About 3 weeks ago, I upgraded some MCS-7825 & MCS-7835 servers to 2000.4.4aSR6. Since then, one of the 7825's has been rebooting on its own almost twice a day. The other 7825 and 7835s are operating fine. Anybody else encountering a problem with this

  • Cannot delete podcast from ipod

    I have a podcast episode that appears on my ipod but when i sync the ipod with itunes the podcast episode doesn't appear on itunes and i can't delete the episode. what can i do to resolve this problem?

  • Inserting and/or repeating part of sound file?

    As a potential new Audition user, I am still finding some things very puzzling. For instance, how can I simply select part of an audio file, then insert it several times on a certain point in time in the same file? With Bias Peak it was possible to s

  • FINANCE RELATED

    Hi,   I have ten invoices. From this i want to make the payment only for five invoices through automatic payment program. How to do this? Thanks in advance and rewards for all useful answers.

  • Security issues in Mavericks 9.04

    I just had a secure scan done on my Mavericks server. The main issues seem to be: OpenSSL Running Version Prior to 0.9.8za Upgrade to OpenSSL version 0.9.8za or newer. Apache mod_negotiation Multi-Line Filename Upload Vulnerabilities (Upgrade to Apac