+ Reply to Thread
Results 1 to 19 of 19




  

Thread: Image file extensions

      
  1. #1
    you know his number D007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to all D007's Avatar
    Join Date
    October 10, 2006
    Location
    here and there
    Posts
    1,040
    Rep Power
    6
    Feedback Score
    0

    Question Image file extensions

    Which are the image file extensions that can be used in websites ?
    I know 3 of them .jpg/jpeg , .gif, .png . Is there any other file formats ?

  2. #2
    Idolized By All noppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nice noppid's Avatar
    Join Date
    October 12, 2006
    Location
    Florida
    Posts
    487
    Rep Power
    6
    Feedback Score
    0

    Default

    I sell photo gallery for vBulletin, vBPicGallery, it's PHP based as is vBulletin, and uses the GD PHP libs to handle images. I support jpg, gif and png.

    The GD libs support...

    GIF, JPG, PNG, SWF, SWC, PSD, TIFF, BMP, IFF, JP2, JPX, JB2, JPC, XBM, or WBMP image files when checking image size. There may be more.

    http://us3.php.net/manual/en/function.gd-info.php

  3. #3
    you know his number D007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to all D007's Avatar
    Join Date
    October 10, 2006
    Location
    here and there
    Posts
    1,040
    Rep Power
    6
    Feedback Score
    0

    Default

    Is it possible to show PSD and TIFF files in our html pages?

  4. #4
    Idolized By All noppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nice noppid's Avatar
    Join Date
    October 12, 2006
    Location
    Florida
    Posts
    487
    Rep Power
    6
    Feedback Score
    0

    Default

    I don't know to be honest. But I would say that to do so, the browser would need to support display or support an embedded helper app. I'm leaning toward no, you'd have to link to them for download.

  5. #5
    Grand Masters Colleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond repute Colleen's Avatar
    Join Date
    September 22, 2006
    Location
    Canada
    Posts
    11,144
    Rep Power
    26
    Feedback Score
    0

    Default

    As far as I know, you cannot display a PSD in a webpage and shouldn't want to, the file size would normally be huge and not worth the wait (say bye bye visitors). As for a tiff file, it's too big as well, convert it to jpg or gif.

  6. #6
    you know his number D007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to all D007's Avatar
    Join Date
    October 10, 2006
    Location
    here and there
    Posts
    1,040
    Rep Power
    6
    Feedback Score
    0

    Default

    Quote Originally Posted by Kalina View Post
    As far as I know, you cannot display a PSD in a webpage and shouldn't want to, the file size would normally be huge and not worth the wait (say bye bye visitors). As for a tiff file, it's too big as well, convert it to jpg or gif.
    Colleen, we are talking about GD PHP libs , not the normal case....

  7. #7
    Grand Masters Colleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond repute Colleen's Avatar
    Join Date
    September 22, 2006
    Location
    Canada
    Posts
    11,144
    Rep Power
    26
    Feedback Score
    0

    Default

    Quote Originally Posted by designer007 View Post
    Colleen, we are talking about GD PHP libs , not the normal case....
    No you were not, not in what I replied to. You say html pages, be more clear next time.
    Is it possible to show PSD and TIFF files in our html pages?

  8. #8
    A Simple Guy Avinash will become famous soon enoughAvinash will become famous soon enough Avinash's Avatar
    Join Date
    October 8, 2006
    Location
    alt.os.development
    Posts
    142
    Rep Power
    6
    Feedback Score
    0

    Default

    PSD and TIFF for web pages? :|

    Man! May I know the purpose of this question? As far as I know, php GD library doesn't support PSD and there is no browser plugin available for PSD files either.

    Some people use high quality PDF files on the web as far as the use is aimed to protect their document.
    "Look Ma!! This mug shot is posting @WTF! "

  9. #9
    I'm New! chovy is on a distinguished road chovy's Avatar
    Join Date
    November 11, 2006
    Location
    Santa Cruz, CA
    Posts
    37
    Rep Power
    6
    Feedback Score
    0

    Default

    depends on what your image context is. JPG is commonly used for digital photography...
    GIF is/was commonly used for decorative graphics on the site, buttons, etc. However .gif should be replaced with .png as it's an open format, with same features - although I'm not sure if you can do an animated .png, so in that regard .gif would support animations.

    ideally, you could render your navigation images dynamically from an xml navigation file - instead of having to re-create the image in Photoshop/Gimp everytime you want to change the text.

  10. #10
    Sweet 'N' Sassy Ohiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of light Ohiosweetheart's Avatar
    Join Date
    October 20, 2006
    Location
    NE Ohio
    Posts
    788
    Rep Power
    6
    Feedback Score
    0

    Default

    Quote Originally Posted by chovy View Post
    depends on what your image context is. JPG is commonly used for digital photography...
    GIF is/was commonly used for decorative graphics on the site, buttons, etc. However .gif should be replaced with .png as it's an open format, with same features - although I'm not sure if you can do an animated .png, so in that regard .gif would support animations.

    ideally, you could render your navigation images dynamically from an xml navigation file - instead of having to re-create the image in Photoshop/Gimp everytime you want to change the text.
    It would be wonderful to be able to replace .gifs with png's, however IE has a problem displaying png's correctly, so for the time being, for cross-browser compatibility, we're stuck with gifs
    Peggy
    free and custom vbulletin styles, and forum services.
    Rush Hour Madness -
    a new chat forum. Come join us for discussions, debates, laughter, and fun.

  11. #11
    Grand Masters Colleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond repute Colleen's Avatar
    Join Date
    September 22, 2006
    Location
    Canada
    Posts
    11,144
    Rep Power
    26
    Feedback Score
    0

    Default

    Yeah PNG's don't show transparency in IE. I've never seen nor heard of an animated PNG either, Chovy. I am sure it's not possible.

  12. #12
    I'm New! chovy is on a distinguished road chovy's Avatar
    Join Date
    November 11, 2006
    Location
    Santa Cruz, CA
    Posts
    37
    Rep Power
    6
    Feedback Score
    0

    Default

    not entirely true...they don't share the 24-bit transparency, but they do 8-bit (same as gif)....so you just need to do treat the same as you would a transparent gif.

    fill background with your bg color -> index the image -> flatten -> select by color your bg -> then clear it, and save (keeping transparency based on background).

    at least that's how you do it in Gimp.

    http://www.top25web.com/

    the logo at the top of this page is a transparent png which works in IE.

  13. #13
    Sweet 'N' Sassy Ohiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of lightOhiosweetheart is a glorious beacon of light Ohiosweetheart's Avatar
    Join Date
    October 20, 2006
    Location
    NE Ohio
    Posts
    788
    Rep Power
    6
    Feedback Score
    0

    Default

    What logo is a png on this page?
    Peggy
    free and custom vbulletin styles, and forum services.
    Rush Hour Madness -
    a new chat forum. Come join us for discussions, debates, laughter, and fun.

  14. #14
    Idolized By All noppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nice noppid's Avatar
    Join Date
    October 12, 2006
    Location
    Florida
    Posts
    487
    Rep Power
    6
    Feedback Score
    0

    Default

    Quote Originally Posted by Ohiosweetheart View Post
    What logo is a png on this page?
    Quote Originally Posted by chovy View Post
    the logo at the top of this page is a transparent png which works in IE.
    I can see it. I swear.
    Free vBulletin hacks and vBulletin Support.
    Talk to bikers around the world about motorcycles.
    Clogging an american dance step.

  15. #15
    I'm New! chovy is on a distinguished road chovy's Avatar
    Join Date
    November 11, 2006
    Location
    Santa Cruz, CA
    Posts
    37
    Rep Power
    6
    Feedback Score
    0

    Default



    you'll see a slight blue haze around the logo, that's from the background color that was cleared out prior to saving as PNG.

    if IE support 24-bit PNG, then you wouldn't even have to do that - there is some dithering, but afaik it's the same as a transparent gif.

    what i've been doing lately to avoid the dithering from 24-bit to 8-bit is to simply keep the entire background color intact in the PNG, then you will have 24-bit colors in IE/FF/Opera/Konq, Lynx...well, maybe not Lynx

  16. #16
    you know his number D007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to allD007 is a name known to all D007's Avatar
    Join Date
    October 10, 2006
    Location
    here and there
    Posts
    1,040
    Rep Power
    6
    Feedback Score
    0

    Default

    Quote Originally Posted by Kalina View Post
    Yeah PNG's don't show transparency in IE. I've never seen nor heard of an animated PNG either, Chovy. I am sure it's not possible.

    check this site


    transparent PNGs

  17. #17
    Idolized By All noppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nice noppid's Avatar
    Join Date
    October 12, 2006
    Location
    Florida
    Posts
    487
    Rep Power
    6
    Feedback Score
    0

    Default

    The water marks used in my vBulletin photo gallery vBPicGallery are transparent PNGs.
    Free vBulletin hacks and vBulletin Support.
    Talk to bikers around the world about motorcycles.
    Clogging an american dance step.

  18. #18
    Grand Masters grim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond repute grim's Avatar
    Join Date
    September 22, 2006
    Posts
    10,060
    Rep Power
    25
    Feedback Score
    0

    Default

    Quote Originally Posted by noppid View Post
    The water marks used in my vBulletin photo gallery vBPicGallery are transparent PNGs.
    I like your gallery script BTW

  19. #19
    Idolized By All noppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nicenoppid is just really nice noppid's Avatar
    Join Date
    October 12, 2006
    Location
    Florida
    Posts
    487
    Rep Power
    6
    Feedback Score
    0

    Default

    Thanks, it's been a long time in the making. In fact, it's still being developed and improved. As soon as I get the meds out of my system from some medical work I had to have yesterday, I'm going the make a few new addtions and get a new updated version out.

    Specifically, we're going to make the photo view pages capable of showing the photos from each gallery with previous and next buttons. After posting hundreds of pics myself the past week, it became obvious this was needed. On top of that, there were two requests for it yesterday.

    I refuse to use DHTML because it's useless in the SERPs being JS driven.
    Free vBulletin hacks and vBulletin Support.
    Talk to bikers around the world about motorcycles.
    Clogging an american dance step.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Help for PSD file PLEASE
    By Saagar in forum HTML & Website Design
    Replies: 2
    Last Post: Sep 27th, 2007, 10:42 am
  2. Adding .js file to your server
    By Kaos in forum General Business
    Replies: 4
    Last Post: Feb 14th, 2007, 1:21 am
  3. Interesting article about file extensions
    By ashish in forum Computers and Electronics
    Replies: 4
    Last Post: Feb 28th, 2005, 6:49 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads