png

PNG TrayIcon transparency on Windows

I'm trying to use a transparent PNG as the icon for my Java application. The image on the JFrame and task bar work great. However, when I use the image with a TrayIcon, I get a black matte background around the edge of the PNG. Has anybody else come across this issue? I would really like to use a PNG instead of GIF or JPEG. ...

Is it possible to use .png images for WiX bitmaps

I am using 2 500K bitmaps in to display images on my WiX dialogs. They dramatically increase the size of the installation package, and what is worse - it looks there's no way to package them as a part of a .cab file since they're <binary>-es in the WiX terms. So, I thught, is there any way to use other file formats for bitmaps or WiX i...

Does Flex support the data uri scheme?

I wish to pass many small PNG files as base64 encoded URIs within an XML response, but there seems to be no way to make flex present these images. I was thinking of the data uri scheme, but it appears not to be supported. Proposed solutions Use Loader.LoadBytes Tried it and it doesn't seem to work (none of the events are triggered)....

How can I save an image as a PNG or JPG file with a given output file size? (pref. in C#)

I'd like to save an existing image as a PNG or JPG at a given file size, eg, 100KB. ...

Dynamic transparent images using AlphaImageLoader in IE6

The following code works fine when I have an image in IE6 that i want to make transparent. <img src="image.png" style="width: 100px; height: 100px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='image.png', sizingMethod='scale')" /> However the following does not. In this example I am using a dynamically generated PNG...

Importing png Files in Visual studio C++ Resource Editor

Hello, I would like to be able to import png file inside of Visual Studio Resource Editor so as to be able to use the embedded resource in different other projects . Is there a solution for that? I know that it works for bitmaps but i am interested in the pngs because of the "transparency" that is availble even on lower format [16x16] o...

UITableView background image alpha problems

I have a UIView with a UITableView for a subview. The UIView has an image applied to its background via setBackGroundColor, and I have applied a background to the UITableView in the same manner. Both images are PNGs, and the the background for the UITableView has levels of transparency in it that don't appear to be working -- the PNG s...

How to save entire Scrollable canvas as Png

I have a Canvas class that implements VirtualizingPanel and IScrollInfo. This class is contained inside a ScrollViewer. How can I save the contents of the entire Canvas class only as Png? I know how to save as Png, problem is what is the easiest way to grab only the particular control. When the control is out of view, it gets clipped ...

Why am I getting this generic, non-descript error in GDI+ when trying to save a PNG?

I have a function that dynamically adds text to an image in a predesignated spot. Originally I did it with jpegs, and it was working. I switched to PNG so the images would be better quality, as the original jpegs were kind of pixely. Anyway, here is my code. It executes down to the oBitmap.Save(), then dies with "A General Error Has O...

LaTeX equivalent to Google Chart API

I'm currently looking at different solutions getting 2 dimensional mathematical formulas into webpages. I think that the wikipedia solution (generating png images from LaTeX sourcecode) is good enough until we get support for MathML in webbrowsers. I suddenly realized that it might be possible to create a Google Charts API equivalent fo...

PNGs in Delphi 2009 Imagelists and Images

D2009 introduces PNG support for Images and Imagelists. However... I have an imagelist containing png images with alpha. I want to place one of these on a form using a TImage. How do I do this and get the image nicely composited? As an example of the problem I'm facing the code below fails to work correctly, and produces the effect sh...

firefoxs renders thin grey lines at content box edges of a png at certain widths - why?

When firefox (3.0.6) renders a png image at certain widths (e.g., 50%), a thin grey line is shown along the left and top edges of the content box. The line disappears at other widths (e.g., 70%). Furthermore, the line doesn't seem to be present in the original image (using gimp to inspect the image). The phenomenon occurs in the absence...

What is the best solution for using transparent PNGs in Internet Explorer 6?

Lack of proper PNG support in IE6 is a well-known issue, with several solutions. There does not appear to be a clear best accepted practice or method. What do you propose the best solution is, and why? ...

Which is superior, CSS transparency or PNG Transparency?

Should I use PNG transparency or CSS transparency? My first instinct is to go with CSS. However I heard somewhere that the filter in IE is slow and that I would get better results with PNG (ignoring IE6). However from personal experience I know that PNG transparency is slow in FF3. Is there a definite answer to this? Thanks. ...

Alpha channel in IE 6.x

How do I get IE 6.x to display png files correctly? I have a designer insisting on drop shadows over a background pattern, and customers who for some reason insist on using IE 6.x ...

How can I display a transparent PNG on Delphi 2007?

The TImage control doesn't support PNG. Is there some third party component that will? Thanks! ...

Using Visual Studio Image Library PNGs in a Windows Form app

My question is about the Visual Studio Image Library that comes with VS2008. In the _Common Elements\Annotations folder, there are PNGs with multiple sizes and I was wondering what the intended use of these is. Is there an standard way to implement these images, e.g. in a Windows Forms status bar? Here are three of the PNGs as an exam...

Load PNG and read pixels in PHP without GD?

I have a need to read in the exact unaltered pixel data (ARGB) from a truecolour PNG file, preferably from PHP. Unfortunately the GD library in PHP messes with the alpha channel (reducing it from 8-bit to 7-bit), making it unusable. I'm currently assuming that my options are either: Implement my own raw PNG reader to extract the nece...

Performing iPhone optimization on externally downloaded PNGs.

Hi all, When a PNG is added to an XCode iPhone project, the compiler optimizes it using pngcrush. Once on the device, the image's rendering performance is very fast. My problem is that my application downloads its PNGs from an external source at runtime (from Picasa Web albums, using the Google Data APIs). Unfortunately, these images...

Converting a PDF to PNG

I'm trying to convert a PDF (at least the cover of one, I'm successfully extracting the first page of the PDF with pdftk) to a PNG. I'm using imagemagick to do the converstion: convert cover.pdf cover.png This works, but unfortunately the cover.png comes through incorrectly rendered (some of the alpha object in the PDF aren't rendered...