image

CSS and different size of monitor?

Hi, I am doing a website (WIP). I encountered some CSS problems, hope you guys can help me. My current situation: I have am image, lets called it "bg.png" with the width about 2500px, and at the center of the background image has my logo. My website should target all size (from small 800 x 600 to 2400 x XXX) users. My problems: H...

Android setImageURI out of memory error

I have a very small activity that must show an image. If picture is not very small (for example 1.12 Mb 2560x1920) it produces out of memory on change screen orientation. I tried getDrawable.setCallback(null) but no luck. Where am I wrong? public class Fullscreen extends Activity { @Override public void onCreate(Bundle savedInstanceS...

Write TIFF float images using CImg

Hi! I'm using CImg and I have noticed that I cant write TIFF images with float data. CImg wrotes them as 1byte/per pixel integer images. ¿Does anyone know if it is possible to write float images? Or, do you know other lib to do it. ...

How to create thumbnail images with white 3px border using PHP?

How to create thumbnail images with white 3px border using PHP? any body have the scripts please help me :( ...

Qt - image-link

How to place an image on a QWidget that will open a browser and go to Google when you click on the picture? ...

matlab - brightness levels in image

how can i take off brightness levels of images? i mean that i have image, and in parts of the images i have brightness, and i wan't to take it off. tnx, Jim ...

Image to Canvas / HTML5 Conversion

Are there software/services for automated conversion of a typical image format (png, bmp, jpg/gif even) to Canvas / HTML5? ...

How to find text in images with the browser control+F

Have HTML pages with many sections and each section has a section title displayed as an image (to use nice font). The problem is that even if I specify an 'alt' and 'title' text on each image/title the Ctrl+F browser functionality does not find the text. Thought two possible solutions but not very happy about them 1) Use embed fonts. P...

create a sparse BufferedImage in java

I have to create an image with very large resolution, but the image is relatively "sparse", only some areas in the image need to draw. For example with following code /* this take 5GB memory */ final BufferedImage img = new BufferedImage( 36000, 36000, BufferedImage.TYPE_INT_ARGB); /* draw something */ Graphics g = img.getG...

Flex 3 - Image cache

Hello Community. I'm doing an Image Cache following this method: http://www.brandondement.com/blog/2009/08/18/creating-an-image-cache-with-actionscript-3/ I copied the two as classes, renaming them CachedImage and CachedImageMap. The thing is that I don't want to store the image after being loaded a first time, but while the applicati...

Location of Firefox throbber/spinner image

I'm trying to locate the "throbber" (or "spinner") image used in the Firefox 3.6x chrome to show that a request is being processed: I'm not familiar with the source code structure for Firefox, and a simple search hasn't yielded the answer. Does anyone know which file I'm looking for? (E.g. can you provide a link to the file in the Me...

How do I change the tint of an ImageButton on focus/press

I have an ImageButton in my app and I need to change the tint of the image when the button is pressed/focused. I have the ImageButton set to get its src from an XML file which as follows: <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"&gt; <!-- pressed --> <item ...

Check the cumulative status of onLoadInit in a for statement

In a setup like this is it possible to check the cumulative status of all onLoadInit? for(var i:Number = 0; i < limit; i++) { var mcLoader:MovieClipLoader = new MovieClipLoader(); var mclListener:Object = new Object(); mclListener.onLoadInit = function(mc:MovieClip) { trace(i + " is finished loading!"); } mcL...

How to select random image of specific size using Django / Python?

I've been using this little snippet to select random images. However I would like to change it to select only images of a certain size. I'm running into trouble checking against image size. If I use get_image_dimensions() I need to use a conditional statement, which then requires that I allow exceptions. So, I guess I need some pointe...

wpf Image resources and visual studio 2010 resource editor

Hello My motivation for this question is really just to specify an image to be used in a user control via a dependency property for ImageSource. I'm hitting some pain points involving the management, access, and unit testing for this. Is the resource editor a good tool to use to maintain images for the application? What is the best...

C# resize all elements in form when resizing form

I have this image as the background of the form: http://img811.imageshack.us/img811/3347/31886905.jpg So my form looks like this: http://img823.imageshack.us/i/cisto.jpg/ When i resize it it looks like this: http://img820.imageshack.us/i/cistoumanjeno.jpg/ Now what I need to do is to put listeners on every rextangle like on the ...

Is it possible to capture the screen and save the image in actionscript 3?

I need to capture whats currently shown in my app and save it as a image, is a flash app running locally, without apache, just a flash app with AS3, is it possible? Ive seen many solutions googling but all need a webserver and this app is running as a desktop app. Thanks in advance. ...

How can I create a Layer on an Image?

How can I create a Layer on an Image, or Image on another Image? because it doesn't let me do that, only layer near the image. ...

which format of png should I use ?

which format of png me should use Png-8 or png-24. which one is better for website. i am confused about these. what is main different between png-8 and png-24? ...

Image auto resize to fit div container.

How does do you auto resize a large image to fit a smaller width div container? Example can be seen here on stackoverflow.com - when an image is inserted onto the editor panel and it is too large for display, the image is automatically resized. ...