Advice on TIFF Display for PHP Apps

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
supermike
Forum Contributor
Posts: 193
Joined: Tue Feb 28, 2006 8:30 pm
Location: Somewhere in the Desert, USA

Advice on TIFF Display for PHP Apps

Post by supermike »

I'm building a mini-imaging solution using PHP and Ubuntu Linux (along with the 'scanimage' GNU command) and an attached USB scanner in order to scan in documents into TIFF files.

The web app will then file these away into a folder structure based on the employee making some category choices.

The problem I have is the view/print part. When the employee selects a category and a date, a set of TIFF files will be displayed. When they choose a TIFF file, it needs to display it. The page will need to display the TIFF image in the browser, one page at a time with the option to go backwards and forwards among pages, and let the employee move it around, shrink/increase the size, rotate it, and print it. The end user workstations could either be Ubuntu Linux with Firefox or Windows IE7.

Other workstations will be able to connect to the web app and not scan, but be able to do the view/print part. All the other workstations will be Windows with IE7, but they'll also be able to view it on the scan station under Ubuntu Linux with Firefox.

One option is to convert the TIFF into a PDF on the fly when they need it, and then use the ordinary Adobe PDF Viewer applet to do what I need. I don't know if there's a Linux tool out there to do the file conversion -- perhaps something from ImageMagick? Or perhaps I convert from TIFF to PS and then PS to PDF.

Another option is to pay for a Java applet or find one for free that does this.

Been down this road before?
Post Reply