image

ASP.Net, Capture image/screenshot of client error

Hi, We currently have fairly robust error handling functionality in our ASP.Net application. We log all errors in the database, a text file on the server and also send automated emails containing the error details back to our support people. This all happens on the server of course. We would like to capture (and retrieve) an image o...

Why is my image rotation algorithm not working?

Attempts 1 & 2: Note: Removed first attempts to cut down on question size. See community wiki for previous attempts. Attempt 3: As per fuzzy-waffle's example, I have implemented the following, which doesn't appear to work correctly. Any ideas what I could be doing wrong? ImageMatrix ImageMatrix::GetRotatedCopy(VDouble angle) { //...

ASP.NET store Image in SQL and retrieve for Asp:Image

I am looking to fileupload a picture jpeg,gif,etc into an SQL database on an updateprofilepicture page. Then on the profile page, I want to retrieve the image from an sql database and have it show up in an Asp:Image control. I have much code trying to do this and it doesn't work. The table contains a column of type Image. ...

Right Float and container div

Hi, I have 3 divs in a container div. The first is floated left, the second is floated right and the last sits in the center. This creates 3 approximately even divs across a container div. In each of these divs I am placing an image of varying heights. Then there is a separate div to sit below the container div which will be the full w...

Images not properly sent in email

Hi friends, I have created an email template, I use PHP to send the email, but the problem is that images that I have included inside the email template are not being displayed properly. It's showing the cross symbol. In Outlook, they mention "click here to download the image" - but nothing happens when I click. What is the solution ...

WPF: "Value of type 'String' cannot be converted to 'System.Windows.Media.ImageSource'."

I'm trying to set a WPF Image's source. XAML works: <Image Name="ImageThing" Source="images/Thing.png"/> Visual Basic fails: ImageThing.Source = "images/Thing.png" with this exception: Value of type 'String' cannot be converted to 'System.Windows.Media.ImageSource'. How do I create the System.Windows.Media.ImageSo...

What's the easiest way to display an image in C/Linux?

I'm quite comfortable with C for numerical computation, but not for graphical programming. I have a Nx by Ny by 3 RGB matrix in a command-line program for linux (gcc, ubuntu) and I want to pop up a window with it as an image. What's the easiest way to do this? It has to be relatively quick because I'll be updating the image frequently....

CSS - Is there a way to target an element depending on what is inside it?

On my page, I have custom styled hyperlinks, and I also have alot of hyperlinked images. I don't want these custom styles to appear on the hyperlinks that only contain images. Instead of adding a separate class (i.e "nostyle") to each hyperlinked image, can I somehow target the hyperlinked images from my stylesheet? Thanks. ...

WPF image manipulation

I have some idea of changing brightness in contrast, but i was wondering had a simple solution for changing brightness and contrast ...

Simplest way of keeping images horizontally aligned without gaps?

What's the simplest correct way of aligning images without gaps horizontally within a div? If possible I would not like to wrap every image in a div and I would not like to use a list. I'm rather looking for the proper CSS to achieve this with minimal markup. The biggest problem are the gaps between the images which I can remove by set...

rss 2.0 image in an item

Hello, Is there a way to send only an Image with a link and some alt text for each item in an rss feed? I looked at the enclosure tag but this is only for video's and music. ...

FFmpeg Images to Video and Streaming

Hello guys, I've a C# program generating JPEG images in realtime, i need to (continuously) generate a video from the images and stream it (also in realtime). I've used ffmpeg to transcode an input video source and stream it, doesn't ffmpeg have an option to get the input as a set of images(always being generated) and make the video out ...

How do you extract an image from a pdf file using C#

How can I get the image from a .pdf file into a System.Drawing.Bitmap? ...

Photoshop save for web

In Photoshop's "Save for web and devices" dialog, how can I choose the file format that ALL the slices will in, without having to go through and select the format for each slice. I have alot of slices and will need to do this more than once. I'm using Photoshop CS4. ...

Showing big images by DirectX faster?

Hi All, as developer of industrial vision applications I frequently have rather clunky images like 6000x4000Pixels and bigger. While the camera and imageprocessing is working on a steady stream of new images (and this processing is the main task) I would like to allow the user to comfortably view some other image in parallel. Doing th...

Saving images to db

I can save an image to the database streaming it to a byte array using the below code, but when it comes back out it has lost the alpha blending around the image and shows a blocky blue border. image.Save(stream, image.RawFormat); How can I get the original picture back out? ...

What's a more elegant rephrasing of this cropping algorithm? (in Python)

I want to crop a thumbnail image in my Django application, so that I get a quadratic image that shows the center of the image. This is not very hard, I agree. I have already written some code that does exactly this, but somehow it lacks a certain ... elegance. I don't want to play code golf, but there must be a way to express this shor...

Is it possible to set the position of an UIImageView's image?

I have an UIImageView that displays an bigger image. It appears to be centered, but I would like to move that image inside that UIImageView. I looked at the MoveMe sample from Apple, but I couldn't figure out how they do it. It seems that they don't even have an UIImageView for that. Any ideas? ...

merge images with text

Hello, Is there a way to put text on a png and then merge it wit a jpg / gif image? ...

Problem with PNG image on top of an image in CSS?

I am using a jQuery content rotator and I want to place a PNG image on top of a image and on top of that text. This is how my rotator looks like in HTML: <div id="testimonials"> <div class="slides"> <div class = "testimonialContainer"> <div class ="leesmeer"> <a href ="http://site/link"&gt;&lt;img src ="http://site/a...