Using images of articles of clothing taken against a consistent background, I would like to make all pixels in the image transparent except for the clothing. What is the best way to go about this? I have researched the algorithms that are common for this and the open source library opencv. Aside from rolling my own or using opencv is the...
Hey there,
I'm using an image loader (DevIL) for image loading. Im just wondering if the image format (the uncompressed format in memory) loaded from files (.jpg, .png, .bmp etc) is determined by the image loading program itself, or is some way contingent upon the actual image file.
All of the images I have looked at so far seem to be...
Hi friend,
How to upload a image file using ajax by using prototype.js plugin, I need to display those image after it is uploaded please help to solve this problem.
Thanks
...
Hi there!
I'm beginner with Flex and I already have a hard task to develop, so I could use some help! :)
What I have to do is upload some images to a server, which is OK, but before uploading I must downsize this images by reducing their quality and width/height. I've found many information about the class JPGEncoder, but I couldn't ma...
Is there a way to tell the browser to look down a list of image URLs until it finds one that works? Pure HTML would be preferred, but I'm guessing JavaScript is probably necessary here (I'm already using JQuery, so it's not an issue).
EDIT: Thanks for your answers! I'll add a few clarifications:
By "works" I mean the image can be di...
I clicked on it and the form is submited, along with a query string appended like x=1&y=2 to the url targetted by the form's action.
Why?
...
Currently, I have an Application which consists of a BasePage which as a header (panel), footer(panel) and in the center for inherited page content. The problem I am running into is with ResourceReferences (Perhaps this isn't even the right way). I am looking for a solution which will allow me to do the following:
Have a single direct...
I have the I2C (SMBus) working properly in this uC and have a VB GUI which can communicate over USB (using USBXpress) and do I2C transactions from the uC to a separate IC. The problem is that I am having the uC poll a register on the IC every 1s. When I do an asynchronous GUI I2C transaction, every once in a while, I believe it collides ...
I have the contract defined as:
public interface IService1 {
[OperationContract]
Image UploadOneImage();
}
I always get exception on client side. then I switch to following:
public interface IService1 {
//serialize Image to byte[]
[OperationContract]
Byte[] UploadOneImage(...
i use such code
string.Format("<img src='{0}'><br>", u.Avatar);
u.Avatar-it's like '/img/path/pic.jpg'
but in this site i can upload new image instead old pic.jpg. so picture new, but name is old. and browser show OLD picture (cache). if i put random number like /img/path/pic.jpg?123 then works fine, but i need it only ufter upload, ...
I am working on a web application (using Grails) which will generate a gift certificate. I'm thinking of a workflow like this:
The user will pick a template which will be stored as an image.
Then the text (name, date, amount etc) will be overlaid on the image to make the final certificate. There is a set of co-ordinates associated ...
The code is from here
I tried it,but it generates the same icon to me!
EDIT
to be more specific,I want to create an icon like
#!/usr/bin/env bash
nargs=$#
if [ $nargs -eq 0 ]
then
echo "Error - No arguments provided !"
echo ""
echo "animate converts rectangular image to a scrolling animated gif"
echo "Usage : "
e...
I've been trying to improve performance our app. The worst performing area seems to be the creation of our Image model, which uses attachment_fu:
class Image < Attachment
...
has_attachment :content_type => :image,
:max_size => 100.megabytes,
:storage => :file_system,
:path_prefix => 'public/uploaded/images',
:thum...
Hello!
I've been looking for a really easy/lightweight way to just be able to click thumbnails to switch the src of a larger image.
This is what I've found:
http://snipplr.com/view/8688/jquery-image-swap/
I haven't actually tried it out yet. Is this the best solution?
The larger images to be swapped in will have the same width but ...
Per a great answer from another question I have begun mounting global resources (css/js/images) in the init() method of my WebApplication. Using the following:
mountSharedResource("/images/edit-btn.gif", new ResourceReference(GlobalResource.class, "edit-btn.gif").getSharedResourceKey());
This of course allows css in another package to...
Hi,
my Page has many hover images, sometimes there are backgrounds from div-elements or src in img-tags.
Now I have the problem, that when the page is not fully loaded (90% for example), and you want to click an menu item before it's 100% loaded, the image hover of the menu item is not loaded too. So when you haver than, you get an emp...
Possible Duplicate:
LaTeX images
Images in documents created by latex look worse than their originals. Why is that?
...
I need a way to display a grayscale version of an image on mouse-over. I've seen this implemented using the Canvas functionality of the browser but don't want to use that method as it will be a while before canvas is implemented on all browsers.
Has anyone done such a thing?
...
With jQuery, i change the src of an image on click
$("#thumb li img").click(function() {
var newlinkimage = $(this).attr("src");
newlinkimage = newlinkimage.substring(14,17);
$("#avant img").attr("src", 'retouche-hr' + newlinkimage + '-a.jpg');
$("#apres img").attr("src", 'retouche-hr' +newlinkimage + '-b.jpg');
The problem is, th...
Hi,
How can i show diffrent pictures based on a value in the databse in my rdlc report?
for example, costumer - K1, wants picture1, while costumer K2, wants picture2. But i want this value insted to show a picture.
My costumers is insterted into a table. And then sent to the rdlc. This is working so i can fetch the diffrent costumer nam...