image

ASP.NET MVC Html.ActionLink CSS Background Image

Hi, I have been trying to set an image on an HTML.ActionLink by adding a CSS class for a link (a) and using the background-image to display the link as an image. This works great in all browsers but IE 6 and IE7. I need to get it working in these browsers, but can not figure it out. Any ideas??? a.edit { background-image: url("...

asp.net mvc multi-parameter requests for dynamic images?

In webforms, we would do somthing like this to set up a hander to generate a dyanmic image: <img src="/barchart.aspx?width=1024&height=768&chartId=50" > Then of course we would write code on the .aspx page to render the image using the parameters and write it back into the response. I am honestly not sure how to set up/handle such a...

How to export image from swf with ActionScript3/PHP?

Hi there, i have another piece for more advanced guys than me ;) I am developing a simple flash application to create your own coat of arms. When finished creating, it would be nice to save it as an image to a client's computer or to a database, i am not sure yet. The problem is making the image from swf content - i mean not the whole c...

C# Create a hash for a byte array or image

Duplicate How do I generate a hashcode from a byte array in c# In C#, I need to create a Hash of an image to ensure it is unique in storage. I can easily convert it to a byte array, but unsure how to proceed from there. Are there any classes in the .NET framework that can assist me, or is anyone aware of some efficient algori...

OpenCV cvSaveImage Jpeg Compression Factor

I am using OpenCV and saving as a jpeg using the cvSaveImage function, but I am unable to find the jpeg compression factor used by this. What's cvSaveImage(...)'s Jpeg Compression factor How can I pass the compression factor when using cvSaveImage(...) ...

How to insert the image on right top corner of panel header using flex?

Anybody help me How to insert the image on right top corner of panel using flex or action script . i used -<mx:Panel x="38.5" y="28" titleIcon="@Embed('image/logo.png')" id="register" width="375" height="534" layout="absolute" title="Registration Form "> titleIcon attributs but not use . so how to insert ? ...

Can someone verify that this is an IE8 memory leak?

The leak is pretty easy to create. Place the HTML below alongside a list of large images named "TestImage0.jpg", "TestImage1.jpg",..."TestImage9.jpg". The page will leak memory (I used sIEve for testing) on every click of the page. If the resize css is removed, the page will not leak. Can anyone confirm that this is an IE8 problem, or th...

Image resizing - sometimes very poor quality?!

I'm resizing some images to the screen resolution of the user; if the aspect ratio is wrong, the image should be cut. My code looks like this: protected void ConvertToBitmap(string filename) { var origImg = System.Drawing.Image.FromFile(filename); var widthDivisor = (double)origImg.Width / (double)System.Windows.Form...

Save image in database?

Possible Duplicate: Storing Images in DB - Yea or Nay? Duplicate: http://stackoverflow.com/questions/766048/store-image-in-database-or-in-a-system-file http://stackoverflow.com/questions/713243/should-i-store-my-images-in-the-database-or-folders http://stackoverflow.com/questions/3748/storing-images-in-db-yea-or-nay Hi, ...

Is there a TeX API for C++?

Hi Guys, I want to preview TeX formulas in my User Interface. After a long time searching, it seems to me that there is no other possibility than write the formula into a .tex file call tex with system() and write a dvi file call e.g. dvipng with system() and write a png file load this file into the GUI clean up(erase all these files)...

Image drag and drop in wpf application.

I want to drap and drop a image on wpf application form. Can any one give me the code and other links for that? ...

Displaying images derived from a byte-array dynamically on a page

I'm calling a webservice that is returning an unknown quantity of images in the form of an a collection of byte arrays. (I can't change this) I need to display each image on a single aspx webpage. I'm currently using the Microsoft.Web.GeneratedImage control; http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=16449 to...

How do I use an image Hot Spot in C#?

I'm trying to use Hot Spots in C# to detect a mouse click on a betting table. ...

Include an HTML img tag inside a mailto: URL on an iPhone

I'm trying to include an image in an email, which is being sent using a mailto: URL in an iPhone app. The image shows up on the sender's mail app, but after being sent, the tag seems to be stripped out entirely. Here's a snippet, which has been escaped by hand: [mailUrl appendString:@"&body=%3Cimg%20src%3D%22http%3A//stackoverflow.com/c...

How can I know when ajax loaded content finish the images loading?

Hi, I'm loading html from an ajax request, and some img tags in it. I need to know when the images loaded in the ajax are fully loaded to resize the container. I don't know how many images are in the result, so I can't simply check the .complete value. Do you know a solution for this? Thank you! Leandro ...

Inverting Image Transparency in ASP.net

I am trying to build a page that will allow me to take an input image and generate a mask from it. The input would be an indexed PNG with a transparent background. The resultant image would be be black where the original was transparent and transparent wherever the original image was opaque. I've done some very basic image manipulatio...

Best practice checks when allowing users to upload files to a web application

The target web application is using ASP.NET 3.5 technology but I'm more interested in the intent of the list of checks to enforce on the server. The following list is my initial thoughts, is there a better checklist out there? Are any of these thoughts misguided? Limit file size at an HTTP infrastructure level. Anti-virus. Only allow ...

Best way to make sure the user dont upload images more than 1MB in size.

I am using ASP.net with VB.NET. Is there some Validator that i can use that will check the size of the uploaded image? Else what must i do in code to make sure that the user do not upload images more than 1MB? Thanks in advanced p.s C# code will also do, i can use a converter to VB.NET EDIT For some reason when i change the maxReques...

How can I read binary image file using Core Graphics?

I created an image in Matlab and changed it into binary image file. I want to read in the file using Core Graphics APIs. Thanks ...

Using System.IO.Delete to remove certain files from a directory?

I have 2 images inside a folder called Pics..... Image1.jpg and Image2.jpg. What code must i place inside my Submit button to just delete Image1.jpg located here "~/Pics/Image1.jpg" Any help would be great!!! ...