Sign in to follow this  
Followers 0
n_K

Do you use TIFF images?

Do you use TIFF images on the internet?   25 members have voted

  1. 1. Do you use TIFF images on the internet?

    • Yes I upload them to sites I use.
    • Yes I upload them but I dislike them.
      0
    • No because websites do not support them.
    • No because I do not use them.
    • Yes (Other, specify)
    • No (Other, specify)

Please sign in or register to vote in this poll.

9 posts in this topic

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.

Share this post


Link to post
Share on other sites

I used them for their quality :)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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... :|.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.