Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder Doctor_Varney's Avatar
    Join Date
    Mar 2008
    Location
    Midlands, UK
    Posts
    649
    Thanks
    45
    Thanked 29 Times in 28 Posts

    Transparent JPEG??? One I didn't declare!

    With the new version of Firefox (FF4.0), the "Free Monster" image (in my earlier project) appeared, suddenly as a transparent graphic. This is very strange, considering it is a JPEG and no transparent pixels were ever declared, at the time of saving!
    If anyone could offer an explanation for this, I'd be grateful. The black background of the image is completely transparent and I could see other elements through it, such as the H1 or the other image, when it was accidentally positioned over them. How can this be? I thought only GIFs and PNGs were capable of transparency!

    Is this a new bug (or feature) of Firefox?

    Yours, the ever puzzled
    Definition: Computer rage is a heightened physiological response with associated feelings of anger and frustration[1] resulting from using a computer or other complex electronic device. It may result in the physical assault of the computer or similar item.[2] Computer use often leads to verbal abuse and occasionally physical violence towards the object.[3] Computer rage may be caused by distress due to a hardware or software problem which the enraged person is unable to correct.

  • #2
    Regular Coder
    Join Date
    Sep 2007
    Location
    AZ, USA
    Posts
    685
    Thanks
    6
    Thanked 46 Times in 46 Posts
    I'm not quite sure what's going. For starters, Firefox 4 doesn't exist, and JPEGs don't support transparency. Check your css and make sure that isn't effecting anything.

    Offtopic: I'm not going to post ever again... 666 FTW!

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    We need a link to your site to tell you whats really going on.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #4
    Regular Coder
    Join Date
    May 2008
    Location
    Lost in Localhost...
    Posts
    702
    Thanks
    3
    Thanked 43 Times in 42 Posts
    JPEGs don't support transparency, maybe you have just changed the file extension? But kept the file itself as a png?

  • #5
    Regular Coder BabyJack's Avatar
    Join Date
    Apr 2008
    Location
    Somewhere.
    Posts
    602
    Thanks
    43
    Thanked 6 Times in 6 Posts
    Maybe the file extension really is a PNG, but has been changed to .jpeg somewhere.
    Once again, JPEG's don't support transparency.

    Offtopic: I'm not going to post ever again... 666 FTW!
    Ha!
    Enlightenment in Coding
    Validate before Posting | Google is your friend for PC Problems | Make sure you have a doctype

  • #6
    Regular Coder Doctor_Varney's Avatar
    Join Date
    Mar 2008
    Location
    Midlands, UK
    Posts
    649
    Thanks
    45
    Thanked 29 Times in 28 Posts
    Quote Originally Posted by binaryWeapon View Post
    I'm not quite sure what's going. For starters, Firefox 4 doesn't exist
    Ah, but I am from a future time, mortal... Such wonders I have seen...

    Oops! My mistake! Firefox 3.04, to be precise. Recent upgrade. Saw the "4" and misread it.

    Quote Originally Posted by binaryWeapon View Post
    and JPEGs don't support transparency.
    That's right... I was most taken aback!

    Quote Originally Posted by binaryWeapon View Post
    Check your css and make sure that isn't effecting anything.
    Nuthin' in there to suggest transparency has been invoked... Yes, my graphic was misplaced at first; hanging over the top of other elements. Not absolute positioned and no z-index coded in, either, so very strange indeed.

    The file extension definitely isn't PNG. It's a background image, which is a JPEG.

    The only explanation I can think of, is that somehow, the future is leaking into our present, through a dimensional wormhole, accidentally created in the LHC...

    What a boggle, eh?
    Definition: Computer rage is a heightened physiological response with associated feelings of anger and frustration[1] resulting from using a computer or other complex electronic device. It may result in the physical assault of the computer or similar item.[2] Computer use often leads to verbal abuse and occasionally physical violence towards the object.[3] Computer rage may be caused by distress due to a hardware or software problem which the enraged person is unable to correct.

  • #7
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    You missed Aero's comment?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •