png

How can I tint transparent PNG files in PHP?

I have a transparent PNG image. The transparent areas need to remain completely transparent, but the other areas need tinting with a particular hue. What's the best way to do this using GD? Cheers, James ...

Is is possible to use transparency in an iPhone app icon?

I created a 57X57 Circle-shaped icon (without shine) which has transparency outside of the circle-shape for my app. I can successfully install the app on Simulator and iPhone. It works fine, and looks great. However, can I submit an icon with transparency to Apple. Will they accept it? I can't find any apps which have transparency in th...

Convert a PDF to a Transparent PNG with GhostScript

Hi all. I am attempting, unsuccessfully, to use Ghostscript to rasterize PDF files with a transparent background to PNG files with a transparent background. I've searched high and low for questions from others attempting the same thing and none of the posted solutions, which as far as I can tell come down to specifying -sDEVICE=pngalpha,...

how to determine the transparent color index of ICO image with PIL ?

Specifically, this is from an .ico file, so there is no "transparent" "info" attribute like you would get in a gif. The below example illustrates converting Yahoo!'s favicon to a png using the correct transparency index of "0", which I guessed. how to detect that the ico is in fact transparent and that the transparency index is 0 ? i...

How can I convert a flash movieclip into a png sequence?

Flash CS4 is not letting me save a swf to a png sequence. Is there a way to save a movieclip as a swf and use an outside program to convert to png? Thanks! ...

How can I get an image out of the clipboard without losing the alpha channel in .NET?

I'm trying to save a copied image from the clipboard but it's losing its alpha channel: Image clipboardImage = Clipboard.GetImage(); string imagePath = Path.GetTempFileName(); clipboardImage.Save(imagePath); If I copy a 32bit image from PhotoShop or IE/Firefox/Chrome and run the above code, the output loses its alpha channel, instead ...

Overlaying a transparent PNG over a SWF disables all click events in the SWF

Hi all, I'm trying to position a transparent PNG over a SWF movie through CSS (absolute positioning). But when I position the PNG directly over the SWF, all click actions on the SWF seem to be disabled. The SWF is asking to use your webcam, but you can't click any of the buttons. Check this link for an example. You can find the CSS her...

Transparency in PNG recognized in some apps but not others

I have a png image, which you can see here: http://img10.imageshack.us/img10/9145/archer5.png The background of the sprite is transparent, I see this on all my browsers and in infranview (which I used to create this), and gimp and windows explorer. However in Photoshop, Paint, and most importantly PHP GD there is a solid background. C...

How to maintain PNG alpha transparency when using "-ms-filter" property

I have the following HTML: <a><img src="myfile.png" /> Some text</a> And this css: a:hover { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)"; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=75); opacity: .75; } The problem with this occurs in both IE 8 and IE 7. When the PNG image is subject t...

Silverlight image viewer control suggestions

Can anyone suggest a good control that can be used to display images (png's most likely and it will always be one type that I can dictate). The images would be available server side only so I don't have to worry about clients uploading anything. Just displaying images on a server. The control needs to have the following functionality...

How can I convert a WMF image to PNG or JPG on Windows using Perl?

By any chance is anyone aware of a Perl module that will allow a WMF image to be converted over to the PNG or JPEG format? I searched CPAN, but did not come across anything. Due to installation limitations, must be a Perl module and work on Windows. ...

VS Image Library .png files

Microsoft deploys free Image Library with Visual Studio. At following location, you can find .png files which contain more than one icon in it. c:\Program Files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\1033\VS2008ImageLibrary_Common Elements\Actions\ Is there any way to access particular icon from file programmaticaly, ...

Visual Studio 2008 resource editor is annoying with PNG's

I have a resource DLL project in VS2008 that contains mostly PNG images. Every time I import a new image to the resource file, I get an RC2170 error: bitmap file is not 3.0 format, for every PNG that was previously in the resource file. Thing is, all of those iamges have complied ok before I add the new image. Only after I remove all of...

PHP/GD ImageSaveAlpha and ImageAlphaBlending

I'm using GD to resize and convert images, however during my tests I found a weird behavior when converting transparent PNG's to JPEG's. According to the manual ImageAlphaBlending() is on by default but in order to preserve the transparency I must set ImageSaveAlpha() to true (which in turn requires that I set ImageAlphaBlending() to fal...

Transparent iframe ontop of pdf in iframe

I have found the technique of putting iframes on top of an iframes to get round the z-index problem browsers have with iframes. The problem I am facing now is I need the the iframe that overlaps a PDF (loaded into an iframe) to be transparent. Is this possible?? The reason I want to do this is so I can have a transparent png over the t...

PNG compression with PHP magickwand

Hi fellow programmers, I'm wondering how to compress an PNG image correctly. The situation is this : I have a PNG image compressed and color-reduced with Irfanview on Windows. It's about 20KB. When my portal software resizes (using magickwand 1.0.7) it with default values, it's about 63K (!). Next try was to call MagickSetImageDepth...

DD IE6 PNG problem with Ajax Modal Window

Hello all, Currently i'm using DDIEPNG (http://www.dillerdesign.com/experiment/DD_belatedPNG/) as my IE6 png headache pill, but i hit a problem with ajax modal window.... I'm trying to create modal window using lightbox gone wild tiny js script with a little tweak that suit my problem... and it create modal window "content" on the fly b...

PVR compression in animation - iphone sdk

im animating an 89 frame png sequence, that has been cut down to half by putting two frames per 512 x 512 frame. but im having major image qaulity issues (lossy) does anyone know of a good way to animate an 89 frame animation, without losing quality or chugging the processor? all the best. ...

Iphone app PNG sequence animation - How to use OPENgle optimally without crashing

hello everyone. i am making an animation in opegle with pngs and considering to use the highest qaulity compression and not use pvr conversion. Does anyone know the maximum amount of frames you can do before the processor starts getting chuggy? and i have a series of frames i would also note that my png sequence is roughly 75 frames a...

Force PNG to download instead of opening in browser with IIS

I need to be able to have a subdirectory of images all PNG's to be downloaded instead of opened in the browser window. I am using IIS for the web server. Is there a way to force a PNG to be downloadable? ...