![]() |
|
|
#1 |
![]() |
PNGs not displaying correctly
I noticed this issue a couple days ago.
Using this page as an example: Slickdeals EDIT: Mods over at Slickdeals edited this post because it didn't fit the rules. Also, the OP's link broke, so no attached images. The second and fourth images (from left to right) are PNGs. The second image does not display anything (because the text is black and all whitespace is black), while the fourth image only shows red/orange arrows and what's contained within. I've also found a couple PNGs on my computer don't display properly in IrfanView, but display just fine in Windows Photo Viewer. Also, while the thumbnails of those images display properly in Firefox, when saved to my computer the thumbnails show how IrfanView will display them. If I highlight the image that is completely black (second image), it accents the text in the thumbnail. So far I've tried: Running Firefox without add-ons. Rebuilding the Icon Cache. Changing the default image viewer for PNGs from IrfanView to Windows Photo Viewer. Thanks in advance. EDIT: Added screenshot.
Last edited by OnePostWonder; Dec 23, 2012 at 06:44 PM. |
|
|
|
|
|
#2 |
|
Unpaid Babysitter
Join Date: Apr 2006
Posts: 19,004 (7.31/day)
Thanks: 3,035
Thanked 5,487 Times in 3,950 Posts
|
what if you use windows photo viewer to open them. I went to the link and the four images show in thumbnail as well as full size for me, assuming you are speaking of these... (oops saved as .png)
__________________
Hers: ASUS Maximus V Gene / i7 3770K / Swiftech H220 / 4X8GB Corsair Dominators / ASUS GTX660 / Corsair AX-760 / Windows 7 64bit / Fractal Design ARC Midi R2 Test: Gigabyte Z68X-UD4-B3 / i7 2600K / A lot Of Coolers / Ripjaws Currently / HIS HD7950 IceQ Turbo / Silverstone SST-ST85F-G / Windows 7 64bit / InWin D-Frame Limited Edition |
|
|
|
|
|
#3 |
![]() |
Sorry, when I was writing "Windows Preview" I meant to be writing Windows Photo Viewer; it opens them just fine. I'm going to check and see how IE behaves.
I'm also going to attach a screenshot to give people a better idea what I'm talking about. Last edited by OnePostWonder; Dec 22, 2012 at 08:30 PM. |
|
|
|
|
|
#4 |
![]() Join Date: Jul 2011
Location: Kaunas, Lithuania
Posts: 457 (0.68/day)
Thanks: 292
Thanked 196 Times in 120 Posts
|
Hint: What is Your default background fill color for transparent images in irfanview?
__________________
Why do you wear glasses if you're deaf? Code:
while (1) {
alone();
}
|
|
|
|
| The Following 2 Users Say Thank You to Vinska For This Useful Post: |
|
|
#5 |
![]() Join Date: Jan 2012
Location: Dover, New Hampshire, USA
Posts: 4,257 (8.86/day)
Thanks: 1,274
Thanked 1,326 Times in 984 Posts
|
Your background is transparent, so on a black background you're not going to see the text. This isn't a complex problem, don't over-think it. If you can save it as a JPEG and it views fine, it is definitely a transparent background as JPEG doesn't support transparency and usually defaults to white.
__________________
MyHeat |
|
|
|
|
|
#6 |
![]() Join Date: Feb 2009
Location: Warwick, Warwickshire, England
Posts: 1,089 (0.70/day)
Thanks: 226
Thanked 226 Times in 189 Posts
|
Aquinus is right about this, I did a test lastnight to and its defo down to transparency.
I have a black background but when i change it to say blue i can just make out the pictures background. |
|
|
|
|
|
#7 |
![]() Join Date: Jul 2011
Location: Kaunas, Lithuania
Posts: 457 (0.68/day)
Thanks: 292
Thanked 196 Times in 120 Posts
|
I'd suggest using setting either white or a checkered one (this also lets You easily see what images uses transparency. While using simply white looks a bit better most of the time, but lacks the benefit of quickly identifying transparency)
__________________
Why do you wear glasses if you're deaf? Code:
while (1) {
alone();
}
|
|
|
|
|
|
#8 | ||
![]() |
Quote:
Well, I gave it a try again today, this time closing the file and reopening it, and it changed the transparency to white. So thanks for compelling me to give it another go ![]() Quote:
Last edited by OnePostWonder; Dec 23, 2012 at 07:04 PM. |
||
|
|
|
|
|
#9 |
![]() |
I'm still having trouble with images in Firefox.
Slickdeals The attached PNG on that page displays like this:
|
|
|
|
|
|
#10 |
![]() |
Removing IrfanView didn't do anything for Firefox, though I didn't really expect it to.
|
|
|
|
|
|
#11 |
![]() |
Would it be possible others post what they're seeing when they click the attached image on the Slickdeals page? I'd really appreciate it.
|
|
|
|
|
|
#12 |
![]() Join Date: Feb 2009
Location: Warwick, Warwickshire, England
Posts: 1,089 (0.70/day)
Thanks: 226
Thanked 226 Times in 189 Posts
|
Well the pics open for me in a new tab and show as they should (Firefox here) i do not use addons or anything either.
|
|
|
|
|
|
#13 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts
|
That's a problem with transparency. Instead letting the true background color through, it is substituting black. I have no idea what would cause a defect like that.
Edit: Actually, it's probably the website. They use black backgrounds for all images instead of leaving it transparent.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
|
|
#14 | |
![]() |
Quote:
Is it written in the vBulletin_Lightbox Javascript to use black backgrounds? Also, do you have any idea why others' browsers isn't making use of the Lightbox script? I've had people restart Firefox without add-ons and make sure scripts are enabled, but it still automatically goes to what I believe is called the overlay page. |
|
|
|
|
|
|
#15 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts
|
I have no idea without looking at it. All I know is that heavy reliance on Javascript is begging for cross-browser incapabilities.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
|
|
#16 |
![]() |
Oh, when you said they use black backgrounds for all the images, you mean that you simply browsed through a couple different pages and looked at their attached thumbnails?
|
|
|
|
|
|
#17 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts
|
No... what you're seeing is a black behind a transparent PNG. The pictures that look fine could simply have no transparency so you don't see the black behind it.
![]() This guide might help you change the default background color: http://kb.iu.edu/data/algz.html Set it to white.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } Last edited by FordGT90Concept; Dec 29, 2012 at 02:21 AM. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is GPU-Z displaying my memory usage correctly? | Black Panther | GPU-Z | 30 | Dec 24, 2011 03:31 PM |
| 4650 Not Displaying 1080p Properly On TV | DaveK | AMD / ATI | 4 | Aug 9, 2009 12:38 AM |
| Memory - Real vs. Effective - Not Displaying Correctly | DBACPhoenix | ATITool | 4 | Nov 7, 2007 04:09 PM |
| Problems with displaying my PC on my TV correctly | m1keh4wk | General Hardware | 1 | Aug 29, 2007 11:08 PM |
| Dead to rights...not displaying! | Kammster | Games | 0 | Jul 5, 2007 03:02 PM |