image

C# printer prints just a quarter of the submitted picture

Greetings, i have a little application which should be able to print single jpeg files to a network printer. Now the printing itself works but the problem is that the printer prints just the upper left quarter of the picture, no matter which picture i use. Typically the picture is 1800x1200 px and in jpeg format. The code im using to ...

Submitting a form using JavaScript and image maps

I have a issue, I have a form called quicksearch CODE <form method="GET" name="quicksearch" action="search_results.php"> <input name="search" type="text" id="search" size="50" value="<?=@$_REQUEST['search']?>"> </form> The submit button is an image map and looks as follows <img src="images/header_16.jpg" alt="" width="111" ...

php gd: create new image based on combine/join 3 images, and then rotate the new image

Basically I have 3 png images. They have the same height and different width. I want to create a new image on the fly, then join the 3 images (not merging, I want to respect the content of each image) and put them on the new image. After that I wanto to rotate that new image. I want to do it with php GD. If someone can give me an ide...

FTP vs HTTP upload on iPhone

In my iPhone application I need to upload images to a server. I don't worry much about security and stuffs, just need a fast and reliable method. I can embed my image data on the HTTP post request, or I can create a FTP connection to the server (using the SimpleFTPSample from Apple). The disadvantage of each method is: - HTTP: time out i...

How to add a full-sized image to the center of a webpage using jQuery?

The way I have my site setup is that I have a grid of thumbnails that is sized based on the user's screen resolution and also has a scrolling mechanism in it. Another feature I'm trying to add is the ability to click on a thumbnail and have the image you clicked appear in the center of the screen at full size (or as close to full size a...

.BMP Image colors being changed in winform application

I have some bitmap images being displayed in a DataGridView's and on custom controls. These are all basic lineart type images not pictures. I recently noticed that they all looked slightly faded/washed out and when I examined screenshots I took I discovered that any color channels that should have had values of 0 had a value of 44 inst...

C#: Library for editing photo tags, et cetera, compatible with Live Photo Gallery

Are there any good .net libraries I can use to read and write tags, people tags, date take, et cetera that are compatible with Windows Live Photo Gallery? ...

preload hidden css images

I'm working on a jquery based homepage with 5 or so hidden divs, each containing several background css images. The issue is that the browser doesn't load css images into the DOM until the visibility of the parent layer is shown, causing images to slowly load in when the layer becomes visible. Solutions I've already considered: CSS...

How to force two figures to stay on the same page in LaTeX?

I have two images that I want to display on a page as figures. Each eats up little less than half of the space available so there's not much room for any other stuff on that page, but I know there is enough space for both of the figures. I tried to place the figures with [ht] and [hb], both [h] and both [ht] but still I can't get those t...

Efficient caching of generated images in ASP.NET MVC

I'm writing an MVC application which serves transformed versions of user-uploaded images (rotated, cropped, and watermarked.) Once the transformations are specified, they're not likely to change, so I'd like to aggressively cache the generated output, and serve it as efficiently as possible. The transformation options are stored in the ...

Round images with asp.net

Can i create round images with asp.net? Please advise. My requirement is to upload any image and get a rounded version of that created bu asp.net. I am using .Net framework 3.5, visual studio .net 2008. Many thanks in advance. ...

show image in gtkmm from integer array

I have an integer array with a gray scale image and I need to show it in my application. I'm programing in C++ with gtkmm and I can't find any widget like a canvas that allow you to show and access each pixel in the image. ...

jquery, images type

Hi! I'd like to change image type with jquery, for example: <img width="250" height="61" alt="Stack Overflow" src="http://sstatic.net/so/img/logo.png"/&gt; to <a href="/"><img width="250" height="61" alt="Stack Overflow" src="http://sstatic.net/so/img/logo.gif"/&gt;&lt;/a&gt; To change ".png: in ".gif" (in this case) Thanks ! ...

AG_E_NETWORK_ERROR when loading a remote Image in SIlverlight

I have a ListBox that gets populated with items read from a JSON response. Each item has an Image control that displays the thumbnail at the remote URL given by the Thumbnail property. I created a custom IValueConverter to convert the URL to a BitmapImage, but the image still didn't display. So I finally realized that I could capture loa...

How to insert a image under the text as a pdf background using iText ?

I need some sample code to insert a image as a pdf background, is there any this kind of sample code ? and I have wrote the text well, then i need to insert a image under the text. ...

How to joint some objects in digital image?

I'm looking for some algorithm to joint objects, for example, combine an apple into a tree in digital image and some demo in Matlab. Please show me some materials of that. Thanks for reading and helping me!!! ...

Convert high-resolution images to low-resolution

Hi , I am doing a web project on media manager. I upload high resolution images and need to convert these images to low resolution, so that the resulting image is compressed into a smaller size. How is this possible using Java? Please post source code, if possible. Thanks, Naveen ...

Static image in Crystal Report displays line on edge (not a border)

This is probably a long shot, but I have vague sense I ran across this many years ago so I'm hoping someone can help. I have a static image in a Crystal Report page header that acts as a letter head. Everything looks fine in the designer, but at run-time the image displays a black line along the bottom of the image. Kind of like a borde...

User-Defined Thumnails for Django Project?

I'm putting together a Web site that makes heavy use of images. Those images need to be thumbnailed at various sizes to fit different templates. I'm aware of solutions like sorl-thumbnail, which seems perfect in every way except one: I need to be able to override automatic resizing and cropping if the computer's choice is a bad one. Fo...

loading BufferedImage with ClassLoader.getResource()

Hello, I am trying to load an image file (gif) which is stored locally in the same directory as my Eclipse java project: ref is the relative path where the gif image is stored. public Sprite getSprite(String ref) { BufferedImage sourceImage = null; try { URL url = this.getClass().getClassLoader().getResource(ref); ...