image

How to get better transparency with GIFs?

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 ...

Using an NSButtonCell with template image in a NSTableView

In Interface Builder, I have set the dataCell of one of the columns of my NSTableView instance to be NSButtonCell. This works as expected, however, trying to use a ‘template’ image doesn't yield the expected visual result when clicking the button. How I configure the NSButtonCell: Image: NSRevealFreestandingTemplate Scaling: None Beze...

java.lang.OutOfMemoryError: bitmap size exceeds VM budget - android - how many images?

Hi I am developing an android app and as I read all around and learned for myself, I cant have a lot of images on the screen at the same time or I will get an exception. The question is how many images or how many KB in images or how many layouts/images can I have at the same time in the screen. I know this is not the only thing that...

js, img, css and ajaxcall folders?

when i download some new plugins eg. jquery plugins i put them in js folder. and the same for css and img. so all my different applications share them. but where do i put my js/img and css for specific application/website? every website? and where should i put my ajaxcall-files.php? EDIT: some guides that could give me a clean and nea...

Showing Large PNG image in an Adobe Air application

I've got a bare minimum Adobe Air application; it's basically a s:SkinnableContainer inside a mx:WindowedApplication. I have a 6000 x 9000 pixel PNG image (~3.20MB) that I want to show in the SkinnableContainer. Note that the s:SkinnableContainer is a tag from Flex 4 Beta3 (spark components). Background Before I explain the problem, a ...

How to display fixed image height and width using xsl-fo with apache fop 0.95

I am trying to fix the height and width of image in pdf generated using fop 0.95. Here is the code used for it <fo:external-graphic src="s\image.png" height="2.00in" width="2.00in"/> Following also does not work <fo:external-graphic src="s\image.png" content-height="scale-to-fit" height="2.00in" content-width="2.00in"/> These giv...

2D pixel array rotation and scaling

Hi I am working on C# program to process images ( given as int[,] ).. So I have 2D array of pixels, and I need to rotate them around a point, then scale them down to fit the original array.. I already found articles about using matrix to transform to a point and rotate then transform back.. What remains is to scale the resultant image ...

how to resize image from url and make the size of the image smaller

Hello all, I have a joomla website with the virtuemart module. What I have are images and thumbnails which are hosted on a other domain. Virtuemart gives me 2 options: 1 - browse for image, a thumbnail will be automaticly created 2 - enter a URL for a image which is external hosted, this option doesn't have a resize option The way ...

Resample script, how to make it work in an existing website with different img urls

I've being provided with a code which can resize/resample images from a url. I would like to have this code implemented in my website. The resample script is pretty straightforward, but I really don't know how to make it work with the rest of the website. I really hope someone can help me with this problem. The code which produces a thu...

grabbing image from url in google app engine, java

Hey guys; I have a url which leads to in image. How do i grab this image from this url into my servlet? NOTE: the web-app is deployed on google app engine. java.net.URL myURL = "http://a3.twimg.com/profile_images/150131301/slogo4_normal.jpg"; //code to grab the image Thank you ...

Image uploading using another site's API - Bypassing my server

I want to use imgur's API to upload images however I don't want to use my server too much in the act because I'd like to keep bandwidth to a minimum. The API accepts images in a base64 encoded string or binary. Also if there's a way to encode images into base64 or binary in javascript that would be really useful to know too ...

How to get alpha value of a PNG image with PIL?

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 ...

Simple Java Display Images

I have a GUI written using netbeans with a few simple components in place. I want to be able to draw images (any file type, whatever's easiest) alongside the GUI components inside the JFrame. Don't have to resize them, just draw them as they are, at the x and y location of my choosing. There will be several images being drawn at each up...

Free Component which can show richtext with pictures Delphi

I need a free component like RichEdit, but which can also show pictures inside. I am using Delphi 7. Unfortunately RichEdit cannot show pictures, and few components which can are not free. ...

Images not showing up with https

Suddenly, my images are not showing up on my site when accessing https pages. No change in my code. My host did have to recompile their ftp service with SSL support after my request (so I could ftpes my site). Can't thing of anything else that would affect my SSL cert. Same thing happens on FF and IE and on different computers. ...

PHP library for converting html to image?

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 ...

Android - how to set the wallpaper image

Is it possible to set the android wallpaper image programatically? I'd like to create a service that downloads an image from the web and updates the home screen wallpaper periodically. ...

Image upload problem

When I am upload my image in local server(my pc server) then it's OK, but when it's on sever(web server) then image upload system does not work. I already change my server permission to 777 what can i do to solve this problem.......... Plz response as early as possible............ ...

PHP/GD - Finding Image Resource Type

Having only a valid GD image resource is it possible to find out the type of the original image? For instance: $image = ImageCreateFromPNG('http://sstatic.net/so/img/logo.png'); Can I get the original image type (PNG) having only the $image variable available? ...

Overlaying images from stream in VB.NET

I'd like to overlay a number of images (PNG, same size for all, with transparency). So far, my code is as follows. bg = New Bitmap(My.Resources.blue) g = Graphics.FromImage(bg) overlay = New Bitmap(tree.Image) g.DrawImage(overlay, 0, 0) Now, I would like to overlay one more image, but this is based on a user's input f...