Hey,
When I try to show a grayscale image using :
Img = imread('tr2.png');
subplot(111);
imshow(Img);
it does not appear as the original image. Where is the problem ?
Hey, I'm trying to take a simple image, something like a black background with colored blocks representing walls. I'm trying to figure out how to go about starting on something like this. Do I need to parse the image and look at each pixel or is there an easier way to do it?
I'm using Java3D but it doesn't seem to have any sort of built in support for that...
hi,
I want to put images from my photo library in to the EAGL view for some further processing. The image that are already in our resources folder will be taken by itself but mltiple or images from photo library can't. So any one knows how to put image on EAGL view in open GLES.
Regtards viral
Hi All,
I am using asp.net with C# [3.5]. I want to display Image before my URL in browser, like IE and mozilla used to have. I want to display my custom image.
Please help.
Thanks in advance
Hi
I am saving image in windows mobile application using C#.My code is
SaveFileDialog dialog = new SaveFileDialog();
if (dialog.ShowDialog() == DialogResult.OK)
{
aspectRatioPictureBox1.Photo.Save(dialog.FileName, System.Drawing.Imaging.ImageFormat.Bmp);
}
In the above code i am able to save only in folders of MyDocument But
i am not able to browse to save in other folders..
Please let know the code to save image through browsing the location
Thanks in Advance
I'm interested in hacking one of those digital picture frames (like you see for sale at Walmart) so it fetches and displays an image off the web every 5 minutes or so. (I'm going to have it load a current image.) Any ideas on how to get started?
There is a simple way with php, a simple script or URL manipulation to build a URL for the gravatar image corresponding to an email?
Ex. http://gravatar.com/avatars/[email protected] and this return a jpeg or png image.
If there is no simple way like the example, what is the easiest way you know to resolve a url of the gravatar corresponding to an email?. Thanks
I am trying upload images and than create an thumbnail of it and than store both in S3. After the file has been uploaded i am first uploading it to S3 and than trying to create thumbnail but it doesn't work as than PIL is not able to recognise the image. And secondly if I create the thumbnail first than while uploading original image I get EOF.
I think Django allows just once for the uploaded files to be used only once....Please kindly tell me a way to do so....Thanks in advance
Hi,
I have an image, that I need to rotate on ACTION_MOVE. Its a wheel image. The wheel should rotate as the user's finger moves on screen. Can anyone help on this please?
Thanks.
Hi all
i am new to this technology.
i have configured ESS server with Microsoft Outlook for sending email from simulator. But i am not able to send image as a attachment from simulator to outlook. html attachement is working fine.
Should i configure BES server with Microsoft Exchange for testing the image attachment.
is it possible.
can any one provide me suggestion.
I am trying to create a solution to automatically convert an Adobe RGB image to sRGB. The first step is to define whether the image is using Adobe RGB colorspace. How do I do that?
It is a C# console application (.NET 3.5).
Thank you for your help.
Hello,
I am trying to add an image from a local directory to a php page on my localhost. It adds fine, but does not display the image.
What exactly am I doing wrong here?
Thanks
Jean
Hii,
I have an 'Attach image button' in my web page, I don't want see the the file upload control in my page. On the click of the 'Attach image button' it will directly shows the browser's directory window and select the file from that and can directly uploads to the server. Does any body knows how it is possible
What is the easiest way to duplicate an image variable in PHP.
Normally you can simply do $varnew = $varold.
But with a GD library variable if I did the above and then edited $varnew then $varold would be effected too.
Obviously one way would be to reopen the file or to make a new image and copy it into it. Is there an easier way?
Can I set an image for the view's own background image? I don't want to use UIImageView control. It seems not to be possible using IB. Do I have to do it programatically?
Thank you.
Hey, I'm trying to mod rewrite the image locations on my site, I'm just using this :
rewriteRule ^thumbs/(.*)$ http://site2.com/images/$1 [L]
so that I can redirect all image requests going from
http://site1.com/thumbs/something to http://site2.com/thumbs/something
But only some of the images are loading, and not all of them.
Thanks!
Hello,
I have a UIElement that I want to capture a snapshot of when a user clicks a button. When a user clicks the button, I want to take the UIElement and load it's current state into an Image element. How do I render a UIElement as an Image?
Thank you!
Hi bit of a silly question.
Are there any png transparency issues with backgrounds to submit buttons or inputs of type image? Or do they behave fine just like img tags with a png image as the source.
I understand for IE6 you need a hack for png transparency to work.
Does any one know of an example on how to store an image in a SQL Server CE database?
What data type should the column be? (I am guessing binary.)
I use Linq-To-Datasets. Is it possible using that to put the image into the database and pull it out again later?
Thanks for any advice.
i am facing lots of problems while running code for image stitching given at this link
http://se.cs.ait.ac.th/cvwiki/matlab:tutorial:image_stitching_from_high-view_images_using_homography
may i get help regarding this type of problems here.
EDIT:
Image stitching code fails with the following message:
??? Undefined function or variable
'x2'. Error in
==compute_direct_homography at 26 amplified_x2=x2.*repmat([diagonal_ratio(x1,x2)
diagonal_ratio(x1,x2)
1]',1,size(x2,2)); %assumption 1degree
of lat and long =110,000 meters refer
wiki Error in == project at 3
compute_direct_homography;
hello all
I want to repeat a background-image for a div vertically till the bottom of the page.
#repeat {
background: url(repeat-image.png) repeat-y;
height: 100%; /* this does not work, but height: 1024px; does */
}
This does not work. I need to do so according to the page design that I have got. Can this be done?
With regards
Vikram
I'm using ImageMagick to create a tiny JPG thumbnail image of an already-uploaded PDF. The code works fine. It's a WordPress widget, though this isn't necessarily WordPress specific.
I'm unfamiliar with ImageMagick, so I was hoping somebody could tell me if this looks terrible or isn't following some best practices of some sort, or if I'm risking crashing the server.
My questions, specifically, are:
Is that image cached, or does the server have to re-generate the image every time somebody views the page? If it isn't cached, what's the best way to make sure the server doesn't have to regenerate the thumbnail?
I tried to create a separate folder (/thumbs) for ImageMagick to put all the images in, instead of cluttering up the WP upload folders with images of PDFs. It kept throwing a permission error, despite 777 permissions on the folder in my testing environment. Why? Do the source/destination directories have to be the same?
Am I doing anything incorrectly/inefficiently here that needs to be improved?
The whole widget is on Pastebin: http://pastebin.com/WnSTEDm7
Relevant code:
<?php
if ( $url ) {
$pdf = $url;
$info = pathinfo($pdf);
$filename = basename($pdf,'.'.$info['extension']);
$uploads = wp_upload_dir();
$file_path = str_replace( $uploads['baseurl'], $uploads['basedir'], $url );
$dest_path = str_replace( '.pdf', '.jpg', $file_path );
$dest_url = str_replace( '.pdf', '.jpg', $pdf );
exec("convert \"{$file_path}[0]\" -colorspace RGB -geometry 60 $dest_path"); ?>
<div class="entry">
<div class="widgetImg">
<p><a href="<?php echo $url; ?>" title="<?php echo $filename; ?>"><?php echo "<img src='".$dest_url."' alt='".$filename."' class='blueBorder' />"; ?></a></p>
</div>
<div class="widgetText">
<?php echo wpautop( $desc ); ?>
<p><a class="downloadLink" href="<?php echo $url; ?>" title="<?php echo $filename; ?>">Download</a></p>
</div>
</div>
<?php }
?>
As you can see, the widget grabs whatever PDF is attached to the current page being viewed, creates an image of the first page of the PDF, stores it, then links to it in HTML.
Thanks for any and all help!
I have tried using a data URI to load the image data into a movie clip, but flash lite does not appear to support the data URI scheme.
I also thought it might be possible to base64 decode the image data and write it out to a file and load the file back into the movie clip using the file URI scheme. However, I do not see a way to write to the filesystem in the documentation. Am I missing something in the flash lite docs that would allow me to write to the filesystem?