png

Universal PNG fix script?

Does anyone know of a universal, one stop PNGFix script that isn't dependent on a specific library (like jQuery or Prototype?). I just want to drop it in the header and have it take care of all transparent .png's from my stylesheets and markup. Can't seem to find one that will do the job. ...

iPad crash while animating the background image

Hi, I created a view controller with a png image and a long jpg background (it's width is twice the width of the iPad - 2048px). moving the png image makes the background image to move to the left in a seamless manner. see this image for an illustrative reference: image When playing with it on the iPad, it crashes anytime I move it mo...

Help with editing a png photo, I need to change the colour

I have a logo that needs to be changed to a pantone colour but the only way I could change the colour was if I live traced it but I lost some detail. So I was wondering if there is another way I can do this in any of the adobe software programs without losing any of the quality. Thanks With the website listed below I was able to change ...

Generation of 8 bit palette from png file via Python

Hello, What would be the best python based library for generating 8-bit palette from the given .png file. As in photoshop generating under .pal format. PS: Input PNG is already in 8 bit format. (paletted) Regards ...

Drop shadow for PNG image in CSS

HI, i have png image, that has free form (non square). I need to apply drop-shadow effect to this image. The standard approach ... -o-box-shadow: 12px 12px 29px #555; -icab-box-shadow: 12px 12px 29px #555; -khtml-box-shadow: 12px 12px 29px #555; -moz-box-shadow: 12px 12px 29px #555; -webkit-box-shadow: 12px 12px 29px #555;...

Layout of edge and node in graphwiz

hi, In graphwiz I would like to have an edge that don't cross the node. Here is my graph: digraph G { rankdir=LR; fontname = "Bitstream Vera Sans"; fontsize = 8; node [ fontname = "Bitstream Vera Sans" fontsize = 8 shape = "record" ]; edge [ fontname = "Bitstream Vera Sans" fontsize = 8 ]; MethodContext [...

UIImagePNGRepresentation in monochrome

I'm developing an iPod-touch app, using Objective C. I am trying to capture a drawing the user creates on the device. I am using UIImagePNGRepresentation to capture the data in PNG format. I want to change the PNG data: specifically I need to change it to a monochrome image. How do I go about changing its bit depth to 1? Regards, Br...

Batch script to pngcrush all files in all subfolders

I have a folder structure with one main parent folder containing many subfolders, and in these some PNGs, something like: .../data .../data/013523/ .../data/345343/ .../data/395338/ .../data/013523/filex.png .../data/013523/filey.png .../data/345343/filea.png .../data/345343/fileb.png .../data/345343/filec.png I'd like to crush all ...

png24 to png8 conversion

Hello, I want to convert the input 24 bit PNG image to 8 bit, I have tried using Imagemagick and Python PIL, neither works. for instance: at Imagemagick I try convert console command as such: convert -depth 8 png24image.png png8image.png And here is the way I tried with python: import Image def convert_8bit(src, dest): """ ...

my website refuses to serve .png files

When moving a site from a staging environment to a production environment, .png image files are not being shown. When going to the image directly, firefox reports: The image (image-path) cannot be displayed, because it contains errors. I've checked mime.types in my apache config, and it contains a line for image/png png ...

Custom method to rescale a PNG loses transparency

Hey folks, I am working on a j2ME game for java-capable cell phones. I am attempting to scale a transparent PNG with the following method: // method derived from a Snippet from http://snippets.dzone.com/posts/show/3257 // scales an image according to the ratios given as parameters private Image rescaleImage(Image image, double XRatio, ...

Using an ImageMap extracting Images (PNG) and display on TImage

Hi, I'm trying to achieve the following: Assume a large png (transparent background 16000 x 70px) which contains 50 different other png files... I need to load that png and extract individual pngs from it (best would be e.g. to have kind of a function which I could say by coords (left, top, height, width) which png I would like to extra...

Command-Line program process png to 18bit

Is there a command-line program that can process pngs(and other formats) to make them 18bit 262k colors. Something like imageprocess -bpp 18bit ...

Transparent Images

Does anyone know if IE now supports transparent png's etc...? Does chrome as well? ...

Gesture through Transparent png on iphone

hey is it possible to get hand gesture through a transparent png, in object c? i need to make it possible to zoom on a mapview, but through an imageview, containing a transparent png. iv tried to illustrate this: .png the white in the middle being the mapview underneath the png. anyone know the solution to this? ...

png transparency and supersleight

hey everyone, trying to fix a site so the transparent pngs work correctly in ie 5.5 and 6, and found supersleight recommended (http://24ways.org/2007/supersleight-transparent-png-in-ie6). it works well on both static and hover images, showing the images how they are intended to be shown, but its not quite perfect. ie 5.5+6 think that t...

Dynamic Images in MVC (Stack Exchange Beta sites)

Hi I've been looking at the Stack Exchange Beta sites and noticed that each site that goes into beta has a graphic at the top with the words 'Web Applications Beta' or 'Gaming Beta' for example. I wondered if these images are individually created or if the are created dynamically somehow? Is there a way using MVC.NET to create PNGs on...

Problem in creating thumbnail of png image !!

Hi, I have used the following php function to create thumbnail image. function createThumbs( $pathToImages, $pathToThumbs, $thumbWidth ) { $dir = opendir( $pathToImages ); while (false !== ($fname = readdir( $dir ))) { $info = pathinfo($pathToImages . $fname); if ( strtolower($info['extension']) == 'jpg' || strtolowe...

Batch of .png to video, end up half size

I have a list of pictures which i am turning into an .mpg video. I go into the directory where all the .png pics are and type: ffmpeg -f image2 -i %02d.png output_video.mp and the output video gets created and it all works great except for one thing, the image in the video is only half the width of the screen. Like the images have been ...

ie6 PNG fix causing 24 bit PNG images not to scroll when nested in div with overflow auto

I am using the following PNG fix for IE6: http://www.dillerdesign.com/experiment/DD_belatedPNG/ It is referenced thus in the head of my document: <!--[if lt IE 7]> <script type="text/JavaScript" src="../../Scripts/DD_belatedPNG_0.0.8a-min.js" defer="defer"></script> <script type="text/JavaScript" src="../../Scripts/DD_PNG_listing.js" ...