Jump to content



Photo

Do you use TIFF images?

tiff images usage

  • Please log in to reply
8 replies to this topic

Poll: Do you use TIFF images on the internet?

This is a public poll. Other members will be able to see which options you chose

Do you use TIFF images on the internet?

You cannot see the results of the poll until you have voted. Please login and cast your vote to see the results of this poll.
Vote Guests cannot vote

#1 n_K

n_K

    Neowinian Senior

  • 5,342 posts
  • Joined: 19-March 06
  • Location: here.
  • OS: FreeDOS
  • Phone: Nokia 3315

Posted 18 February 2012 - 12:40

So I'm in the process of making a website, and obviously an image upload part is a must for it... So I've got all the main major image file formats supported, except TIFF and RAW...
Currently in the process of making a TIFF PHP extension which I'll need to convert to Hiphop later on (I've actually got no clue how to code in C what-so-ever...)

So I'm interested to know what your habbits are in reguards to using TIFF images on the web, I don't mean as in uploading huge 10,000+ pixel landscapes for desktop backgrounds, I mean general pictures or avatars or whatnot, do you use them?

Or maybe you'd be interested in the code for this TIFF extension when I'm finished with it? Haha!

Thanks.


#2 Xahid

Xahid

    Anokha Neowinian

  • 5,859 posts
  • Joined: 04-November 01
  • OS: Windows 7 Ultimate

Posted 18 February 2012 - 12:43

I used them for their quality :)

#3 deactivated_

deactivated_

    Deactivated_

  • 888 posts
  • Joined: 05-August 08

Posted 18 February 2012 - 13:08

It depends on what your website is planning on doing with the uploaded images. Just for avatars? No need to support .tiff files at all. It's common for sites to limit avatar uploads to just .jpg, and then to even certain file size or resolution. The only reasons I could think of for supporting .tiff files on a website is for 1) Upload only, but then your back-end converts and resizes accordingly so you don't have the site trying to load 100 2 Mb .tiff files at a time, or 2) full high resolution images for print or download, although in that case I would think you could just specify that the user .zip them first.

#4 Scorbing

Scorbing

    Halo Master

  • 6,520 posts
  • Joined: 02-December 01
  • Location: Florida
  • OS: Win 7 Pro, OSX 10.8, Ubuntu 12.10
  • Phone: Galaxy Note 2

Posted 18 February 2012 - 13:33

TIFF image files are usually large in MB size. I would use JPG.

#5 Cute James

Cute James

    Neowinian

  • 983 posts
  • Joined: 14-June 11
  • Location: Hamamatsu, Japan

Posted 18 February 2012 - 13:34

I use TIFF in my work for archiving product images. I like that Photoshop can save as TIFF with multiple layers, and with integrated zip compression - it makes distributing high resolution data with transparency layers rather more manageable than PSD.

Regarding your particular case, however, I do not believe TIFF is necessary for most web images/avatars - JPG or PNG should be sufficient.

#6 OP n_K

n_K

    Neowinian Senior

  • 5,342 posts
  • Joined: 19-March 06
  • Location: here.
  • OS: FreeDOS
  • Phone: Nokia 3315

Posted 18 February 2012 - 13:51

Ah, I was under the impression that they were mostly used in digital camera (with RAW too) so it'd be easy to upload pictures from a camera without needing to convert them.. But now you mention zip support and multiple layers... :|.

#7 neoraptor

neoraptor

    Neowinian

  • 638 posts
  • Joined: 29-November 08

Posted 18 February 2012 - 13:54

TIFF is not meant for web usage. PNG, JPG, GIF is enough (or you can accept tiff, bmp etc but you should transcode them)

#8 OP n_K

n_K

    Neowinian Senior

  • 5,342 posts
  • Joined: 19-March 06
  • Location: here.
  • OS: FreeDOS
  • Phone: Nokia 3315

Posted 18 February 2012 - 13:58

Well yes all images are converted to PNG, maybe I didn't make that clear.
PHP-GD only supports opening PNG, GIF and JPG, so I've done a BMP converter and I'm in the process of doing the TIFF converter

#9 OP n_K

n_K

    Neowinian Senior

  • 5,342 posts
  • Joined: 19-March 06
  • Location: here.
  • OS: FreeDOS
  • Phone: Nokia 3315

Posted 19 February 2012 - 13:57

Wow... so it wasn't overall all that hard to covert the tiff2png program into a PHP extension... I'll be honest, I have no ****ing clue what-so-ever if it memleaks or anything, but hey, it does work! :D
Not bad for my first use of C I guess, though it was mostly copy and paste.. Anyway, would anyone be interested in having this extension, or heck, any C geeks want to have a look at it and see if there's a major problem with it?



Click here to login or here to register to remove this ad, it's free!