I am noticing a large performance difference between Java & JOGL and C# & Tao.OpenGL when both loading PNGs from storage into memory, and when loading that BufferedImage (java) or Bitmap (C# - both are PNGs on hard drive) 'into' OpenGL.
This difference is quite large, so I assumed I was doing something wrong, however after quite a lot o...
A 24 bit .png file with transparency, as those that can be generated with Photoshop, has really 24 bits distributed across each color plus the alpha ? or the 24 bit refer only to the colors and ignores the alpha (RGBA 8888).
Is there any tool to examine a PNG file and verify this kind of information? Does Photoshop have any options to ...
image1.png and image2.png are both with transparent background.
<script type="text/javascript">
$(document).ready(function(){
$("img#test").click(function() {
$(this).attr("src", "image2.png");
});
});
</script>
<img id="test" src="image1.png">
The above code is supposed to replace image1.png with i...
I want to stroke a CGContext path using three or four images, but randomly cycle through the images as I'm drawing the path. I want to draw the images INSTEAD!! of drawing the CGContext I am now. I have this code so far
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{
UITouch *touch = [touches anyObject];
CGPo...
I'd like to use DD_belatedPNG for a project, but I'm not allowed to edit the markup to add the following conditional comment that is required for the script to function:
<!--[if IE 6]>
<script src="DD_belatedPNG.js"></script>
<script>
/* EXAMPLE */
DD_belatedPNG.fix('.png_bg');
/* string argument can be any CSS selector */
/* ....
Hi bit of a silly question.
Are there any png transparency issues with backgrounds to submit buttons or inputs of type image? Or do they behave fine just like img tags with a png image as the source.
I understand for IE6 you need a hack for png transparency to work.
...
What is a Java type which can hold a PNG implement and provide access to it's pixel buffer?
...
Is there any software, plugin or technique that would allow creating/exporting PNG-like GIFs with smooth transparent edges, at least for smaller images like bullets or buttons.
I really have to use GIFs sometimes for IE6 so it'd would be great to know if such a tool exists?
Thanks
...
Hello!
I need to use openGL in NDK, and I need to load and use some images (PNG), and maybe other files. These files are stored in res\drawable, res\drawable-hdpi, but I cannot access them with fopen()...
There is a way to do this?
Can somebody give me a piece of code for my problem, because it is quite urgent.
Thank you very much, and...
How to detect if a PNG image has transparent alpha channel or not using PIL?
img = Image.open('example.png', 'r')
has_alpha = img.mode == 'RGBA'
With above code we know whether a PNG image has alpha channel not not but how to get the alpha value?
I didn't find a 'transparency' key in img.info dictionary as described at PIL's website
...
Is there a free (or commercial) PHP library which would help me convert a piece of HTML to image?
I googled it but haven't found anything.
thanks in adv
...
I am trying to create a transparent PNG image from a BufferedImage in Java.
The PNG will be loaded into another piece of the software, that does not support the alpha channel.
That should be fine, because, according to Chapter 8, section 5, part 4 of the PNG book, I can achieve transparency by specifying a pixel value to be transpare...
Im trying to get two alpha-24 transparent .png files to crossfade into each other. I started this adventure by modifying a pretty decent little script (thanks to jqueryfordesigners.com):
// wrap as a jQuery plugin and pass jQuery in to our anoymous function
(function ($) {
$.fn.cross = function (options) {
retur...
Hello!
I have a page with a transparent png that (background-repeat: repeat). The background works fine on all other pages.
On this particular page is a flash music player. I believe the is causing the background to look weird in IE8.
Is the player causing this? What can I do?
URL to page: http://kingromeo.com/wordpress/media/
...
All i need is create a .png image with transparent background, draw some text in black on it and save it using img.save('target.png', option='optimize')
It looks like to save .png images in 32-bit mode automatically. Can I reduce the color depth while not make the output images looks much worse before saving? Since it contains only blac...
A while back I used a PNG optimisation service called (I think) "smush it". You fed it a weblink and it returned a zip of all the PNG images with their filesizes nicely, well, smushed...
I want to implement a similar optimisation feature as part of my website's image upload process; does anyone know of a pre-existing library (PHP or Pyt...
Hello!
I would like to have some information about this topic. Everybody knows that it's possible to manage and even create images with PHPs gd-library, but is it possible to edit animated GIFs without losing the animation? Hope that someone is wise enough to answer this :)
Martti Laine
...
Hi,
If you view this in IE7 or 8 you will see that the background, when fading in is black, then it rapidly disappoears. Is there a fix for this?
http://nettuts.s3.cdn.plus.org/234_tooltip/Demo/index.html
Many thanks in advance!
C
...
In ASP.NET C# I'm trying to save a bitmap image as an 16-color non-transparent grayscale image as either a PNG or GIF. I assume I have to create a palette and then somehow attach the palette to the image but not sure how to go about doing this.
The source image is a 24-bit color Bitmap.
...
Trying to load an icon with GDI+ using GdipLoadImageFromFile:
Image image;
String filename = "C:\Archive\-=Images=-\Microsoft\Vista\shell32\Icon_129.ico";
Status result = GdipLoadImageFromFile(filename, out image);
returns the status OutOfMemory (3).
You can also use the object wrapper form:
Image image = new Image(filename, false)...