Much like how the video tag can provide multiple source attributes so an mp4 video can fall back to an ogg video, I would like to get an svg image to fall back to an png image.
Please find the attached image in this posting. We have a requirement to draw a rectangle at run time on selected grid columns.The rectangle must cover all of the selected grid cells as the described in the below image.
I am new to matplotlib and python and would like to display an image so that 1 pixel of the image is actually represented by 1 pixel in the figure. In MATLAB, this is achieved with the command truesize(). How can I do this in Python?
I tried playing around with the imshow() arguments as well as set_dpi() and set_figwidth()/set_figheight(), but with no luck.
Thanks.
could anybody knows any alternatives to progressbar?
Inmy project im using progressbar..I would like to change it to something like a rotating gif image which indicates the processing or someother labels which prevents the user from interacting to the program.I tried to implement the gif image by using background worker but its hanging may be coz of huge file transfer process..
So im searching for someother alternative like a label which will disable the content and prevent the user to interact with the program.
Could anybody help me on this?
I need to figure out how in the world do I create object instances (an image) and place them on the screen and have it draggable. I know how to draw an image (png) onto the screen, but how do I make it draggable?
In my app, when one particular image button is clicked and held, i must be able to calculate the time for which the image button was held pressed. Can any one help me by giving some simple guidance or sample code. i am really stuck up here. Is there any specific event listener for this particular requirement.
I'm using a big Background image on hover which is set in css background {....}
It takes time to load first time upon mouse over so I want to preload this background image.
What is the best option to do this?
I‘m trying to create a page with Silver Light 4, that is similar in functionality to the main page at the Silver Light Showcase website (http://www.silverlight.net/showcase/).
Essentially I want to have buttons that change the view of the data in a Grid. One view might have just an image, another might have a smaller image with a smattering of data, and the third would be all the details.
I wondering if anyone has a recommendation of how to achieve this?
suppose i have taken one picture from my iphone camera and now i want to compare this image with other images and find best match image from that.
is it possible or not?
I have a form with 3 text values and one image..
I want to save these values such that i can display these records in the list below..
how can i do that...
I am using osCommerce
For example:
<form method="post" id="fm-form" action ="" enctype="multipart/form-data">
<label>Name:</label>
<input type="text" id="fm-name" name="fm-name" value="" />
<label>Email:</label>
<input type="text" id="fm-email" name="fm-email" value="" />
<label>Birthdate:</label>
<input type="text" id="fm-birthdate" name="fm-birthdate" value="" />
<input type="file" id="fm-image" name="fm-image"/>
<input type="submit" id="fm-submit" value="Save it">
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr >
<td align="center" class="productListing-heading">Product(s)</td>
<td align="center" class="productListing-heading">Edit</td>
<td align="center" class="productListing-heading">Delete</td>
</tr>
<?php for($i=0;$i<$count_image;$i++){?>
<tr>
<td align="left" class="productListing-data1">
<?php echo tep_image(DIR_WS_IMAGES . $file_realname, $save_image[$i], '110', '110');?>
</td>
<td align="center" class="productListing-data1">Edit</td>
<td align="center" class="productListing-data1">Delete</td>
</tr>
<tr><td> </td></tr>
<?php }?> </table>
In the above format as the form is submitted the image has to be stored in a count_image array variable... and the on its count, the list below the form is displayed.. but i cannot get it worked.. could u pls help in doing this...
I started learning jQuery just yesterday, and I like it very much.
And now I decided to write a script where I can change the margin-left of an image when I click on it, hold the clicking and move the mouse.
Depending on mouse coordinates I must change the image's margin-left. Could you give me an idea how I can do it? Thanks.
In some library I'm using (written in C) its
StorePGM(image, width, height, filename)
char *image;
int width, height;
char *filename;
{
// something something
}
All functions are defined this way. I never seen such function definitions in my life. They seem to be valid to MSVC but when I compile it as C++ it gives errors.
What is it? some kind of old version C?
hi! :)
anyone know if is possible to reproduce this effect
background-image: -moz-linear-gradient(top, #666666, #000000);
background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #000000),color-stop(1, #666666));
also on ff < 3.6?
im tryin' to generate a gradient background without images!
thanks a lot in advance for any advice.
hi, i have an swf. on my website, a user will make some changes on the stage and then when he press the button "get hotlink", he will be able to get the image link of some part of the stage determined before by me. like imageshack, users'll be able to use it as image in forums.
how can i succeed it?
hi,
following situation:
- loading an image into a pictureBox works
- selecting ( / marking) an area by drawing a rectangle via ControlPaint::FillReversibleRectangle(...) works
how do i save the selected part of the image?
thanks alot
how can i clean image from noise?
i have a program that create images, and i have noises in the images,
like a shadow of the object that in the image. how can i clean it?
i tried to use a level, but i didn't work.
hi,
is there any javascript library for resizing the images according to browser window sizes ?
I need to consider all cases (vertical / horizonal image, vertical / horizonal browser window)
N.B. The image scale has to be the same! (no distorsions)
thanks
can any one suggest me how to rotate image view with respect to any point on the image in iphone os.it will be very useful for me if any any body send me the sample code...
<a href="index.html"><img src="image.png"/></a>
IE8 highlights the image with a blue border. I'm not sure what CSS is relevant here, is it just border? Can I use a single CSS style to turn it off, like:
a img
{
...
}
We have a images folder which has about a million images in it.
We need to write a program which would fetch the image based upon a keyword that is entered by the user.
We need to match the file names while searching to find the right image.
Looking for any suggestions.
Thanks
N
By best I mean most efficient.
So don't go on about subjectiveness.
I have a list of websites and I want to store the list on the iphone locally, there must be an URL, title and a small image (like 32x32 max image size). I don't think I should be using CoreData for this. Should I be using a plist?
I have a .h when I map all the image files names and xib names with #defines. For example, if I have an image called "buttonBackground.png" I map it in my .h as
#define BUTTON_BACKGROUND_PNG_FILE @"buttonBackground.png"
It's possible to detect when a resource is added to the bundle and create the correspond define with a script?
I am looking for some easy jquery solution for hover images.
Like if i define a class. them jquery should get the current image like
abc.png then chnage that to abc_on.png
and then put that to on hover image
How can i do that.
i don't want to add function for every button.
Just one function and it do all.
My Images all usually imagename.png or imagename_on.png
http://www.freezpic.com/pics/d63adbfb5faec3ded732dcfee5cc71ef.jpg
in the image one i can enable red arrows inside the inner square ...
http://www.freezpic.com/pics/736e30ef1accf1d174122f2e1b017b8d.jpg
but in the second image i can't enable red arrows inside the inner square.
why?