• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Displaying a tif image

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, I have been working on displaying a tif image from a jsp page. I am running into issues where some people are able to see the image and others are not.
I have a feeling that this is related to what "tif" is associated with on their local machine. I have tried embeding the image in a page, providing a link directly to the image, coping the image locally. I am fresh out of ideas to try.
I saw something about converting tif images to other image formats not too long ago, but I am not sure if that is the best way to go.
I would greatly appreciate any ideas you have to offer.
Thanks -- Beth
 
Sheriff
Posts: 67752
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I may be wrong, but I don't think TIF files are natively supported by many browsers out-of-the-box. Perhaps what you are seeing is the difference between browsers that have had plug-ins down-loaded or not.
Just a thought,
bear
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another possibility is that some browsers may require a content-length in addition to the content type, while others don't need the length.
Bill
 
Saloon Keeper
Posts: 28312
207
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had to do something very similar recently, I cheated and converted the TIF to a PDF. Almost EVERYBODY can handle that!
My experience with PDF's BTW, is that static PDF's server up fine, but dynamic ones give Netscape 4 indigestion unless you provide the content-length.
 
Beth Barja
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you, all of the answers were helpful in the process of deciding how I want to make this work.
Tim,
Out of curiosity what did you use to convert TIF to PDF?
Thanks -- Beth
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
TIF is only natively supported by IE on Windows 2000. For all other browsers/operating systems, you need a TIF plug-in or convert it to PDF.
As for a free plug-in, take a look at AlternaTIF,
http://www.alternatiff.com/
Good luck ...
 
Tim Holloway
Saloon Keeper
Posts: 28312
207
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are a number of TIF-to-PDF solutions. I think the Acrobat distiller can do it, but if not, there are commercial products that can.
I couldn't make the cost/convenience tradeoff, so I just loaded the TIF into "the Gimp" image maipulation program and did a "print to PostScript File", then used the ps2pdf utility (under Linux) to convert.
 
What does a metric clock look like? I bet it is nothing like this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic