Ok people, despite the best-known-practices, today I decided to do this:
<img src='<? include("dir/dir/img.png"); ?>'>
With 6 diferent .png images.
Sadly, only 2 of the 6 were nicely visible on the browser.
Why only 2 of the 6 images were shown? Maybe there were data losses bits on the way?
Thank you for your time :]
...
Hi
Does anyone know of a good example of converting a PPTX powerpoint presentation to some form of image? PNG/GIF/etc?
I can do it for a PPT but looking for a PPTX conversion example
Thanks
...
Is it possible to convert a google doc to png or PDF from a script/command line?
...
Despite setting directory permissions to 777, I still can't get a PHP script to write an image file that it generated to a directory on the server. So, rather than wrestling with that problem I thought, why not create a new one. Actually, I thought there might be an easier solution. Is it possible to take an image file (stream) that i...
What png fix method is the most actual today? Lite-weight, with background-repeat and background-position support.
...
Hello world.
I am trying to create the silhouette of PNG image with transparencies.
Here is my code
//file that i am working with
$file='http://www.google.com/mapfiles/turkey.png';
$im =imagecreatefrompng($file);
imagealphablending($im, false);
imagesavealpha($im, true);
$imw =imagesx($im);
$imh =imagesy($im);
//turkey body ...
function fadehomepage() {
//Set opacity to 0
$('#showcase_home > div > a').css({'opacity':'0'});
$('#showcase_home > div').hover(
function () {
var selected_div = $(this).attr("class") + "_hover";
$(this).find('.' + selected_div).stop().fadeTo(...
Is there any implementation of a PNG encoder/decoder written in PHP? Something similar to this one: http://packages.python.org/pypng/png.html
I know there is GD and other ones, but as far as I know, you cannot have greater control over png chunks since they are png specific.
Thanks,
Nano.
...
I am currently looking for a way to identify some terrain within a png image, How do I check to see if a pixel is a certain colour? or even better a certain alpha level?
Any help would be great.
Adam
...
Possible Duplicates:
IE6: To support or not to support.
Should we support IE6 anymore?
I'd hate to (HATE TO) admit it, but there are some people still using this browser. A client of mine is facing an issue where the "transparency" area of a png comes out a light grey - ONLY on IE6.
I know it's an unsupported browser, but ...
I am struggling with PHP's GD library.
I have written a script called foo.php which outputs a png:
header('Content-type:image/png');
$img = imagecreatefrompng($url) or die('bad url:'.$url);
imagepng($img);
imagedestroy($img);
It works fine. Its purpose is to accept a GET parameter and then spit out the appropriate graph:
(e.g.) fo...
I have a base64 encoded PNG. I need to get the color of a pixel using javascript. I assume I'll have to convert it back to a normal PNG.
Can anyone point me in the right direction?
...
I ve applied a background to my page like this,
body
{
background:#FFFFFF url('images/color.png') repeat top left;
color:#666666;
font-family:Arial,Helvetica,sans-serif;
font-size:80%;
font-style:normal;
font-variant:normal;
font-weight:normal;
white-space:nowrap;
margin:0 auto;
height:100%;
}
This seems to work in IE7,firefox and chr...
Here's the thing.
I hava a simple snippet in PHP like this regarding a transparent image:
$im = new Imagick('some-transparent-image.png');
$im->setImageOpacity(0.3);
$im->writeImage('output.png');
The file output should be a transparent image with lower opacity, right?
Well, the output is an image with black color where it was supp...
Below is an image of the problem.
I've tried correcting the folder permissions to 755, i've tried setting exact paths, i've tried removing all of my styles and nothing works.
Background png images seem to load fine.
There are some flash elements on the page (top and side nav)
Any help would be much appreciated. Thanks in advance.
...
Hi there,
I have the two images below.
They are the same image, with one having a slight glow effect on the text.
They are setup as below:
<div id="header"><a></a></div>
withe the original image being the background for the div, and the 'glow' image being the background for the anchor tag, with display:block; width: 100%; height: 100...
What is the correct way to save images in png format, if I want to use it in my Android OpenGL ES application as texture?
Somehow some textures work, and some texture get incorrect vertex mapping. The code is the same, the image is different.
...
I am able to convert a single page TIFF to a PNG in .Net, however, how would I do this for a multipage TIFF?
...
Im dragging my images into the drawable-hdpi folder in Eclipse and when I load them in the program they are 2/3rd the original size. (my 500x150 .png is being loaded as a 333x100 .png)
Any advice on how I should be creating/loading images for android?
private Bitmap mGrass;
BitmapFactory.Options options = new BitmapFactory.Options();
op...
How can i save an image (BitmapImage / WriteableBitmap) in png format using Silverlight for windows phone?
...