png

Background colour of a PNG in IE8

I have the following logo, which displays as the same background colour as the HTML body in FF3, Chrome (#363636): Logo But in IE8 it displays a different, darker colour. Is this FF3/Chrome being forgiving of my PNG, or just another IE bug (I thought they fixed PNG support in IE7)? (Update: The logo is fixed now on that link but i...

How to make a color transparent in a BufferedImage and save as PNG

I have been searching the web for this, but I havent found any decent help. I have a BufferedImage, which I have read in with ImageIO. Now I would like to make a certain color in that image to transparent, and save the image as PNG. I know I cannot just "paint" the transparent color for obvious reasons, so I am guessing I need some kin...

I need an graphical Editor to create PNG files with alphatransparency

Unfortunately, Photoshop currently is the only graphical editor I can use to create PNG files with alphatransparency. I really hate it. But I need it. But can't afford it. Pixelmator looked so good, but it crashes over and over again. On my brand new MacBook Pro. Really, that's not an option. Gimp: It crashes imediately after start. A...

does the iPhone support 24-bit PNG with alphatransparency?

I do know the iPhone prefers PNG. But also PNG-24 with alphatransparency? I hope it does! ...

Create static graphics files (png, gif, jpg) using Ruby or Python

I'd like to create a graphic image on the fly based on user input, and then present that image as a PNG file (or jpg or gif if necessary, but PNG is preferred). This is actually for an astrology application; what I'd like to do is generate the chart in PNG for display. Python or Ruby is fine; in fact, the library available may determin...

Disappearing icons in WPF

I'm looking to use some icons from the VS2008ImageLibrary/Actions/pngformat in my WPF application to get a more Visual Studio look and feel - like the "Insert Standard Items" command in WinForms. I've added the images as resources, and referenced them in my xaml file: <DockPanel.Resources> <Image x:Key="NewIcon" Source="Toolbar ...

How do I read JPEG and PNG pixels in C++ on Linux?

I'm doing some image processing, and I'd like to individually read each pixel value in a JPEG and PNG images. In my deployment scenario, it would be awkward for me to use a 3rd party library (as I have restricted access on the target computer), but I'm assuming that there's no standard C or C++ library for reading JPEG/PNG... So, if yo...

IE6 PNG transparency

How can I fix PNG transparency bug in IE6 for background image? ...

Lossy image compression, plus transparency, for the web?

One advantage of PNG is full alpha transparency, which allows you to have smooth edges and shadows in in web designs. The main disadvantage is that it only supports lossless compression, which for complex images means a very large file size. JPEG on the other hand offers great compressibility for complex images, but no transparency. A...

Problem with PNG image on top of an image in CSS?

I am using a jQuery content rotator and I want to place a PNG image on top of a image and on top of that text. This is how my rotator looks like in HTML: <div id="testimonials"> <div class="slides"> <div class = "testimonialContainer"> <div class ="leesmeer"> <a href ="http://site/link"&gt;&lt;img src ="http://site/a...

trouble inserting data in SQLITE3 col on osX

How can you insert a file data(png) to col in SQLITE3 on osx (command line) and what is the better type to use as a container? blob or binary? ...

Scaling images/icons in Java

A project I am working on needs to be resized when the monitor resolution changes. Due to legacy code and other issues, we do it by using a custom library which scales all the components to the appropriate sizes when the resolution changes. However, when we scale some of the images/icons used in the project, they become blurry/fuzzy/ali...

How to save an SDL surface to a PNG and get the colors right?

I wrote up a simple patch to add PNG-saving capabilities to the SDL_Image library. It almost works, too. Problem is, the colors come out all scrambled, and I don't know enough C to figure out what's wrong. Can anyone take a look at this and help me fix it up? Use case: Load a 256-color PNG image with IMG_LoadPNG_RW. Save it with IM...

How can I save a PNG with a tEXt or iTXt chunk from Java?

I am currently using javax.imageio.ImageIO to write a PNG file. I would like to include a tEXt chunk (and indeed any of the chunks listed here), but can see no means of doing so. By the looks of com.sun.imageio.plugins.png.PNGMetadata it should be possible. I should be most grateful for any clues or answers. M. ...

Using Chunks in a PNG

I'm looking for a way to get and set those oddball chunks in a PNG file, namely in my case, the 'zTXt' chunk. Is there anything built into the .Net framework, or any other known assembly, that provides access this data? I'd like to avoid having to write an entire PNG reader/writer for this purpose if it has already been done. Thank yo...

Problems with imagesetpixel and displaying the image with php5 and gd 2.0 (or higher, apparently)

I'm trying, for reasons best known to my unconscious mind, to generate a snow-crash-like picture. Using PHP5 and GD v2.0 (or higher), I'm using the following php/html: <?php $x = $y = 100; $gd = imagecreatetruecolor($x,$y); $w = imagecolorallocate($gd, 255, 255, 255); $b = imagecolorallocate($gd, 0, 0, 0); ...

layered png image using a PHP library

Hi there, Does anyone know about a PHP library which can produce layered PNG images? (I'm not sure, but I think that tiff image standard supports layers also) ...

LaTeX images

Hi, I'm writing a report and inserting a few raster images in (in PNG format) using: \usepackage[pdftex]{graphicx} \includegraphics[width=4in]{poker.png} My problem is that when saving as a PDF the images are look really awful, am I missing something? Cheers! ...

How can you create one file from many png files in terminal?

Example of data 06-7-1-B.png 06-7-2-B.png 07-3-1-B.png 07-3-2-B.png 06-6-1-P.png 06-6-2-P.png 07-12-1-P.png 07-12-2-P.png 07-6-1-P.png 07-6-2-P.png 07-7-1-P.png 07-7-2-P.png 08-2-1-P.png 08-2-2-P.png 08-2-3-P.png 08-7-1-P.png 08-7-2-P.png 08-7-3-P.png 08-7-4-P.png 08-9-1-P.png 08-9-2-P.png I want to join the files together as follows....

Why does resizing a png image lose transparency?

I am trying to resize an image as follows. I return the resized image into byte[] so that I can store it in database. The transparency of png image is lost. Please help to make this better. private byte[] GetThumbNail(string imageFile, Stream imageStream, int imageLen) { try { Image.GetThumbnailImageAbort imageCallBack = ...