image

Upload one large file once, and change its scale using css, or use different files of the same image in different sizes?

I have a little book flipping site. I have it so I upload an image (the page), the size is about 1500x1948, but it is scaled down using css to fit on the ipad better (it becomes about 946x728). Then I have it so if you double click the image, it scales into its original size (1500x1948) and you can scroll around the page. Is it better t...

How to create random image generator in asp.net mvc project c#

Hello all, I am looking for some solution of the random user image. I created some image and calling it from database if user has no image. But i dont like it, it is quite ugly. Is it exists some random image generator, like here in stackoverflow the the user has no photo. Please help me! Thanks and take care, Ragims ...

Java convert image format with low memory footprint

I'm writing a Web application that let user upload images in several formats (e.g. png,jpg,bmp). After the image has been uploaded the system should convert it to "png" and scale it to a predefined resolution. To convert the image I use the handy method: javax.imageio.ImageIO.write(im, type, baos); Here's where the problem start. The...

Bicubic-ly Resize Images with Javascript

Is there a way to resize the actual image using JavaScript? I'm not talking about modifying the DOM to get the browser to resize the image. I actually want to resize the image's pixel data and then display that. Basically my problem is: Firefox completely fails at downsizing images with delicate features because it only has Nearest N...

Objective C - Iphone: Image constant?

Is it possible to have an image as a constant in Objective C for iPhone development? ...

Download image from the site .net[c#]

Hi All, I am trying to download images from the site. The code which i am using is working fine till the image is available. If the image it not available it is creating problem. How to validate availability of the image. code: Method 1: WebRequest requestPic = WebRequest.Create(imageUrl); WebResponse responsePic = requestPic.GetRes...

ListView and images

I have two problems with ListView+images. I get the values for the list from an xml file which contains all necessary infos. I need to set up a Listview. Every row should contain an icon and a title. The icon is a local drawable (shipped whith the app). An example what I want to achieve can be found here: http://www.tutomobile.fr/wp-...

matlab image processing

how to convert image pixel to image coordinate? ...

Images fail to load on my website on IE only

I just created a website ( http://www.kalif.ca ) for my business. When I load the site in IE (in my specific case IE 8 on Win 7), on the main page, the only image that's loaded is the logo. Any insights as to what might be happening would be greatly appreciated. ...

Getting Jpeg error #51 when loading from BLOB with Delphi 2010, fine w Delphi 2006

I have an old application developed in Delphi 2006 that I now needed to make some changes in. In this app, I'm loading images from a MsSQL "image" field but when i compile with delphi 2010 I get the error : "raised exception class EJPEG with message 'JPEG error #51'." The code that get's the image from the database: aStream := TMemory...

Showing thumbnail of selected images in a desktop application using C Sharp.

Hi, I have a desktop application in C sharp, in which I have to show selected images in thumbnail view ( the view will be some thing like the attached image). The selected image can be deselected using x (cross) button shown on image top. Can someone suggest me how this can be accomplished. I have seen this accomplished in ASP .net. But...

iPhone SDK loading screen

I have a view in my app where I use a very large photo that is Hi-Res and takes a bit of time to load. How do I put a loading screen while this is happening? The kind of loading screen with the spinning loading wheel so that the app does not look like it has frozen? Thanks in advance for any help! Edit: Note that I am simply loading the...

Image transforamtion and cropping in android 2.1

Hey, i would like to transform and crop a given image in android. Therefore i have 4 source and 4 destination points to specify the transformation matrix. i use float[] src = new float[8]; src[0] = rp[0].getX(); src[1] = rp[0].getY(); src[2] = rp[1].getX(); src[3] = rp[1].getY(); src[4] = rp[2].getX(); sr...

Are modern browsers good at scaling images down nowadays?

Back in the old days, one would always need to scale images in Photoshop, because the browsers did a terrible job of it. Firefox now seems to scale images smaller quite nicely. Do the other browsers do a nice job too? ...

Masking NsImageView

How would I be able to mask an nsimageview in objective c? For example, having an nsimageview with rounded corners. ...

bitmap interpolation

interpolation of bitmap: I have bitmap of 16*16, i want to increase the size of the bitmap to 160*160, which is best interpolation type that can be suited. ...

iphone capturing image to document

CGImageRef screen = UIGetScreenImage(); UIImage* image = [UIImage imageWithCGImage:screen]; CGImageRelease(screen); // You could, e.g., save the captured image to photo album UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), nil); (void)image:(UIImage *)image didFinishSavingWithError:...

how to display images dynamically on dynamic positions

hello guys, i have rectangles and images and i want to show that images on that positions that rectangle holds in it...it is all dynamic. and i am using bitmap class to display but now i have to set positions according to that rectangle... please help. thanks a lot. ...

Qt : how can i emmbed icons/images in the GUI in Qt framework ?

how can i embed icons or images my application is using , i don't what to hold image directory in my application root , is there any valid method for that ? ...

Show/Hide Issue with Image Rotator

I am working on a site with an image rotator (using jQuery Roundabout). I have set it up in jQuery that when you click on an image, it displays certain content associated with that image using the following code: $('#brand-cou').click(function() { $('#brand-details .detail-section').fadeOut(0); $('#detail-country-squire').fade...