Jump to content

My wallpapers go all noisey :(


Recommended Posts

For the jpeg Windows converts it to a bitmap. The png, however, does indeed brake transparency on the icons. Once the transparency is removed (not that any is visible) this problems disappeares and starts converting it to a bitmap again.

Getting slightly back on topic. Why would you use transparency on a desktop background? If you find you are having this problem, the answer is to remove transparency, or save your background as a bitmap since that's all windows can use properly regardless. Only use png as it's name suggests "portable network graphic" with no transparency.

I didn't save it with any transparency or empty space. I can make transparent PNG files, which I use on webpages instead of Gif files, but I have to use a CSS hack to get Internet Explorer to show them properly with full transparency.Otherwise IE breaks the PNG file and shows a light pink haze around the transparent area.

Most other web browsers seem to render 24bit Transparent PNG files properly though. IE5/6(And I think 7) under Windows XP likes for a PNG to be saved as 256-bit file if you want to the Transparency to show up properly,otherwise you hav to use the CSS hack to make it add th ealpha channel.

If anyone is interested, you would add this to your css:

 <style type="text/css">
 img, div { behavior: url(iepngfix.htc) }

and in a file named iepngfix.htc add:

<public:attach event="onpropertychange" onevent="doFix()" />

<script type="text/javascript">

// IE5.5+ PNG Alpha Fix v1.0RC4
// (c) 2004-2005 Angus Turnbull http://www.twinhelix.com

// This is licensed under the CC-GNU LGPL, version 2.1 or later.
// For details, see: http://creativecommons.org/licenses/LGPL/2.1/

// This must be a path to a blank image. That's all the configuration you need.
if (typeof blankImg == 'undefined') var blankImg = 'http://www.twistedpairrecords.com/blank.gif';

var f = 'DXImageTransform.Microsoft.AlphaImageLoader';

function filt(s, m)
 if (filters[f])
  filters[f].enabled = s ? true : false;
  if (s) with (filters[f]) { src = s; sizingMethod = m }
 else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="'+m+'")';

function doFix()
 // Assume IE7 is OK.
 if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent) ||
  (event && !/(background|src)/.test(event.propertyName))) return;

 var bgImg = currentStyle.backgroundImage || style.backgroundImage;

 if (tagName == 'IMG')
  if ((/\.png$/i).test(src))
   if (currentStyle.width == 'auto' && currentStyle.height == 'auto')
    style.width = offsetWidth + 'px';
   filt(src, 'scale');
   src = blankImg;
  else if (src.indexOf(blankImg) < 0) filt();
 else if (bgImg && bgImg != 'none')
  if (bgImg.match(/^url[("']+(.*\.png)[)"']+$/i))
   var s = RegExp.$1;
   if (currentStyle.width == 'auto' && currentStyle.height == 'auto')
    style.width = offsetWidth + 'px';
   style.backgroundImage = 'none';
   filt(s, 'crop');
   // IE link fix.
   for (var n = 0; n < childNodes.length; n++)
    if (childNodes[n].style) childNodes[n].style.position = 'relative';
  else filt();



Not sure if Vista renders PNG files with 24 bit transparency the same way XP does, and I haven't tested it, but I would hope Vista does things differently as this was one of the things they were supposed to fix with Vista is full PNG support as well as PNG compression(for icons and such).

Link to comment
Share on other sites

What ever image editor you are using must enable and save transparency by default (even when it's not used in the actual image). I opened the image you posted with the GIMP, removed the transparency, that hadn't been used but was still there any way, and the problem is fixed.

Link to comment
Share on other sites

post more of your wallpapers they look sick

Thnx man, I've put some up on the Hak5 wiki wallpaper page, and ill put more up soon.

Btw everyone, I found a solution... If I upload my wallpapers to the internet then view them through a web browser (obviously) then "set as wallpaper" from there, then they appear fine :)

Link to comment
Share on other sites

i personally find it ten times easier to just open it in firefox and set it as a background with that. no quality loss and no issues dealing with transparency

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...