Top "Imagesource" questions

ImageSource from a relative resource

I'm trying to use a local resource to put an icon inside a Button. (C# Visual Studio 2012) Directly inside my …

c# wpf xaml visual-studio-2012 imagesource
Loading image into ImageSource - incorrect width and height

My problem is that the image loading seems to be uncorrectly from application resources. This is code: BitmapImage bi = new …

wpf image-processing imagesource
Python Scrapy: Convert relative paths to absolute paths

I have amended the code based on solutions offered below by the great folks here; I get the error shown …

python scrapy imagesource
Converting System.Drawing.Image to System.Windows.Media.ImageSource with no result

I would like to convert Image to ImageSource in my WPF app. I use Code128 library which works properly (already …

c# wpf image type-conversion imagesource
Set image source

I am trying to set image source to something from my computer (not in the assets). This is how I …

c# wpf image windows-store-apps imagesource
Setting an image.Source from a resource file

private void SetCredentials() { username = txtfromEmail.Text; password = txtpassword.Text; pictureLogin.Source = @"C:\Users\Sergio\Documents\Visual Studio 2008\Projects\emailwpf\emailwpf\…

c# wpf resources imagesource
How to compress image byte[] array to JPEG/PNG and return ImageSource object

I have an image (in the form of a byte[] array) and I want to get a compressed version of …

c# wpf image bytearray imagesource
Setting Image source programatically in Metro app, Image doesn't appear

I have a main page and a camera page in my application. The main page has an image that does …

c# image windows-runtime winrt-xaml imagesource
Displaying a GIF in Silverlight

I have a number of gifs in a folder on my web server /dir/subdir/bla.gif etc. On that …

image silverlight gif imagesource
ImageSource from String not working?

I have a bunch of *.tif images in a folder in my project..which i've also added to my visual …

c# wpf image imagesource