png

How can I correctly display a png with a gradient using OpenGL ES on the iPhone?

I've tried using pngs with gradients as textures in my OpenGL ES based iPhone game. The gradients are not drawn correctly. How can I fix this? By "not drawn correctly" I mean the gradients are not smooth and seem to degrade to sections of a particular color rather a smooth transition. ...

Using .png files instead of using .ico files in windows programs

hi I have a collection of nice .png files.... meanwhile, I'm developing a win-based software and need some .ico files as icons for toolbar buttons and .... Is there any way to use .png file as an icon ? or what? Thank you ...

png to bmp

is there anyway that i can convert a png to a bmp in c# i want to download a image then convert it to a bmp then set it as the desktop background i have the downloading bit and the background bit done i just need to convert the png to a bmp ...

MathML or OMML to PNG w/ .NET?

Are there any libraries which take MathML (or, even more preferably, OMML) and outputs a .PNG file? I am putting together an export process for .docx files and, as a part of this process, I'd like to extract equations and render them as .PNG files. Word 2007 does this natively when you save a document for the web, but so far, I have no...

Video equivalent of PNG?

For raster images there is: JPG is for natural scenes PNG or GIF for geometric scenes that are characterized by smooth colors, straight lines and gradients. For vector animation there is SVG And for raster video there are various MPEG codecs which do a good job for natural scenes. So my question is, what should I use for a video which...

How should I use transparent pngs in IE 6 over a background-repeat?

The code below has a repeating background image "thinline.png". On top of that are 4 layered transparent PNGs: cardshadow.png, steel.png, startjobapplicationshadow.png and startapplication.png My goal is to make this code look good in IE6 without messing up other browsers. This feature of IE is widely documented but I have not been able...

Aligning a transparent PNG over same-colored CSS background

My idea is that a PNG overlaying some text, with transparency ranging from 0% to 100%, all colored in the same color as the CSS background, would fade out the text underlying it. Turns out the transparent PNG is visible also in the areas where it's supposed to be transparent. Also, the colors of the PNG and the CSS are not the same - ev...

PNG8+Alpha from Fireworks (colormap) are different/smaller than from elsewhere (RGBA). Why?

In Fireworks, when you export a PNG8 file with alpha transparency, the resulting file will be something like this: png8-fireworks.png: PNG image data, 500 x 500, 8-bit colormap, non-interlaced If you convert a 32bit PNG using other tools (PNGOUT, Smush.it) the result looks like this: png24-smushit.png: PNG image data, 500 x 500, 8-b...

AS3 Loader ignoring .png transparency

In Flash CS4, open a new document, change the background colour to something recognizeable (like magenta) and add the following code: var loader:Loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, function(e:Event){addChild(e.target.content);}); loader.load(new URLRequest('newsnakelub8.png')); ... replacin...

Firefox 3.5 color correction hack?

Hello stackoverflow.com. After finally getting down to upgrading to FF 3.5, I noticed that some of my web pages have color problems. Specifically, say I have a PNG image with a color in it which is meant to be the same as the body's background color but when it is rendered it comes out as lighter than it should be on Windows. On Mac I'...

Why does an extra symbol get created when I import a png file into Flash CS3?

When I import a .png file into the library in Flash CS3, I noticed that the system always creates an extra symbol in the library. If I import, for example, foo.png, into the library, it not only creates a bitmap with the same name, but also a Symbol of the type "Graphic" with the default name, e.g. Symbol 576. I am not using these symb...

Using ps2pdf on EPS files with PNG used for bitmaps?

We're currently using ps2pdf to convert EPS files to PDF. These EPS files contain both vector information (lines and text) and bitmap data. However, by default ps2pdf converts the bitmap components of these images to JPG as they're embedded within the PDF, whereas for the type of graphics we have (data visualisation) it would be much mo...

How do I make a PNG resource?

I've got a form with a large TImage on it as a background. Problem is, this is stored directly in the DFM as a bitmap, which takes up about 3 MB. The original PNG file is ~250K. I'd like to try to reduce bloat by embedding the PNG in a resource, and then having the form load it during OnCreate. I can do that now that Delphi 2009 incl...

Image editing in resources of visual studio 2008

I want to be able to edit an image (png file) from the resources folder of one of my projects in VS2008. But the resource editor in VS will only allow me to zoom in and out. As the images are 32 bit, VS also will not allow me to use the image editor toolbar to change this. I would like to know if anyone knows how i can edit the image via...

IE6 filter alpha loader png24 freezing context

This is really unknown issue to many people. I would raise a question for it and make it easily accessible for other, and maybe someone of you know the solution for this problem. All of us probably know that there is problem with alpha transparency in PNG24 in IE6 (still used by many people on web..). There are at least few known solut...

misinterpreted png images in safari on mac.

I've created a png file with Autocad's rendering tool and published it on a website. The problem is that it does not show in safari on mac. It displays correctly on Firefox installed on the same machine and on windows. I tried to figure that out and when I was inspecting the img element I found a message in the safari console saying some...

UIView and UIViewController practice for inheritance

Hi, I was just wondering if this approach looks like a good practice for apps with a lot of custom views, for nested PNG graphics and animations that may change based on user interaction. I created a BaseView class that extends UIView @interface BaseView : UIView { @protected BaseViewController *controller; } @property (retain...

Strangeness with Jetty serving images

I'm completely stumped. I'll give the background for the sake of completeness but I'm not sure if it will help or not. I'm running a Lift project on a standard Jetty set-up running one Lift instance. Mac OS X. I have a snippet which transforms the XML input, renders an image, saves it to disc under the webroot/images/ directory with a f...

Convert SVG to PNG in Ruby

I need to convert SVG content to a raster image (preferably a PNG) in a RoR app. Is there a direct method that doesn't involve ImageMagick, or is this the de facto standard? ...

Why image with transparent background not visible in Silverlight?

I have created an image to use as a ruler. It has black lines and text on a transparent background and is in PNG format. After adding it to my XAML I was surprised to find that the image was not visible, and even more surprised to find it was visible in Blend when I loaded the XAML file there. What might cause an image to be invisible w...