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 ?
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
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
Hey there. I am creating my first iPhone native app (beginner Objective-C). On my main menu title screen, i would like for the background image to move slowly to the left. Is it possible to tile a background image and have it move? I'm basically trying to have my clouds drift across the background. How would you accomplish this?
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'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?
Say have this piece of code:
var marker = new google.maps.Marker({
position: location,
title: 'Búfals',
map: map
});
This creates a marker as expected but if I hover the mouse over it I don’t see 'Búfals'
as I would expect (instead I see the html code).
This doesn't make any difference:
var marker = new google.maps.Marker({
position: location,
title: unescape('Búfals'),
map: map
});
Any ideas?
Thanks.
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...
I am having a sorted list which is rotated and I would like to do a binary search on that list to find the minimum element.
Lets suppose initial list is {1,2,3,4,5,6,7,8}
rotated list can be like {5,6,7,8,1,2,3,4}
Normal binary search doesn't work in this case. Any idea how to do this.
Hi All.
Using Google Protocol Buffers, can I set a maximum size for all messages I encode?
if I know that what I encode is never larger than X bytes, then Google Protobuffs would always produce a buffer of size Y, and if I give it a smaller amount of data, pad it to size Y?
Anyone have numbers on how many machines / % of internet uses have Google Native Client?
I'm curious about google NaCL as a platform: it seems to combine the best of the web (just a webpage, accessible on any machine) and desktop apps (OpenGL, C/C++ power). The only question is -- what percent of the world actually use it.
Anyone have data on this?
Thanks!
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!
I already have pdf links set up. I am just looking to prepend Google's syntax in front of my current href using jQuery. i know the following doesn't work, but I feel I am close…?
jQuery(document).ready(function() {
jQuery("a[href$=.pdf]").attr("href", "http://docs.google.com/viewer?url=" + current.href);
});
Can anyway help, please?
Hi all,
Did any know about how to search using latitude and longitude using latitude and longitude
using php and mysql as back-end.
I am having zip-code and latitude and longitude for the corresponding city.
With these things as back-end how can i do my search.
thanks in advance.
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
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.
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
I'm trying to run some of the google applications like calendar, market, and email but the google login service doesn't work. The various errors (like NoClassDefFoundError) make it seem like the pieces aren't even installed. Any ideas?
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.
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.
Hi, i am new to android development. I got an error when write the code "import com.google.android.maps.MapView; in eclipse. The error is "The import com.google can not be resolved."
Please anybody give suggestion to fix this problem.
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!
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.
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.