image

where to store uploaded images - in the tomcat application or on the server?

Hi! What do you suggest for location of images that the user uploads to my application? in my server application (like WebContent->images) or in system location? ...

Animations in C#

How to Put the animation in C#. ...

Delphi: image with alpha blending capabilities

Is there some simple component that could display PNG 32-bit images and alpha-blend it to another image on mouse enter and on mouse leave? Or even just a simple image that can load 32-bit PNG and additionally would have Alpha parameter... I suppose I could use some skin library (alphacontrols?) or some graphics library, but for some sim...

Show AJAX content after images have loaded

I am developing my own lightbox kind of jquery plugin. Everything works but I want to hide the loaded content until the images have loaded in the browser from the AJAX call. I found a similar post and I am using the following script but the setTimeout function is what reveals the content and not the .load function. Am I trying to achie...

iPhone script to move,resize & cut image

my application needs to get some thumbnails. i have found some topics about resizing images proportionally but i need to do more: the user must zoom,move and cut the photo selecting a square 106*160, that will be used as thumbnail. is there any type of protocol to do that or shall I start writing a custom script? thank you all. ...

WPF - attached behavior to capture MouseEnter on Image in TreeviewITem

Hi! Could I have, please, a little code-sample of WPF "attached behavior"? I explain my problem: I've done my TreeView all with XAML but now I'd like to manage an event with code-behind. The HierarchicalDataTemplate contains an Image. I need to capture the events MouseEnter / MouseLeave on the Image. I'd like to do this with "attache...

Images in web apps

I'm working on a web application and I'm using the img tag (<img...>). When the src property is empty, it shows the red x figure indicating that there is no image. Is there any way to hide that red X icon? ...

Flash AS3: How do you calculate the width of an image loaded into a movieclip?

I am loading an image into a movie clip via AS3, and what I want to do is center the image inside the movieclip. The problem is that I can't seem to grab the width value of the image being loaded. Below is what I'm doing: imageLoader = new Loader(); imageLoader.load(new URLRequest(event.target.name)); screenBox.screenHolder.addChild(ima...

Is there any google Image search API for ActionScript\MXML developers?

Is there any google Image search API for ActionScript\MXML developers? ...

What is the best practice to cache images on Android?

Hi guys, In my application I use SoftReference to cache images, it is working fine with active internet connection. And now I need to cache images, so I could use it in offline mode. What is the best way to implement it? Use complex solution with SoftReference and database? or maybe SoftReference and local storage (sdcard)? I would ...

strange white line in image after loading

After loading image i get strange white line. After image is loading white line dissapear. I am loading image with html: <img src="/images/p1.png" alt="" width="666" height="196" /> ...

How to rotate a drawable with anti-aliasing enabled

I need to rotate an ImageView by a few degrees. I'm doing this by subclassing ImageView and overloading onDraw() @Override protected void onDraw(Canvas canvas) { canvas.save(); canvas.scale(0.92f,0.92f); canvas.translate(14, 0); canvas.rotate(1,0,0); super.onDraw(canvas); canvas.restore(); } The problem is tha...

kCGImagePropertyIPTCKeywords problem

Hi, I am developing an iPhone app in which I want to set the keywords for an image using ImageIO.framework. Following is the code snippet that I use for setting the keywords. But, it does not apply the keywords to image meta data. Could some one help me out in finding the problem here. NSMutableDictionary *iptcDictionary = [NSDictiona...

Best way to write an image to a Django HttpResponse()

I need to serve images securely to validated users only (i.e. they can't be served as static files). I currently have the following Python view in my Django project, but it seems inefficient. Any ideas for a better way? def secureImage(request,imagePath): response = HttpResponse(mimetype="image/png") img = Image.open(imagePath...

VS2010 "An item with the same key has already been added"

I recently installed Visual Studio 2010 and copied and converted an old VS2005 solution to VS2010 When I edit this solution, if I try to change a control's .image property, VS2010 creates a message box telling me that "An item with the same key has already been added" (screenshot below), and won't let me browse for an image. I can add ...

"A generic error occurred in GDI+" error while showing uploaded images

i am using the following code to show the image that has been saved in my database from my asp.net mvc(C#) application:. public ActionResult GetSiteHeaderLogo() { SiteHeader _siteHeader = new SiteHeader(); Image imgImage = null; long userId = Utility.GetUserIdFromSession(); i...

Image sliding control using wpf

Hi All, I want to create a slider with images like a control in the bottom of the youtube(floating images with left and right navigation button). How i have to start. i am new to wpf. for example: http://blog.wpfwonderland.com/page/4/ Geetha. ...

Get content uri from file path in android

Hi, I know the absolute path of an image (say for eg, /sdcard/cats.jpg). Is there any way to the content uri for this file ? Actually in my code I download an image and save it at a particular location. In order to set the image in an ImageView currently I open the file using the path, get the bytes and create a bitmap and then set t...

Using Pycairo to generate images dynamically and serve in Django

I want to generate a dynamically created png image with Pycairo and serve it usign Django. I read this: http://stackoverflow.com/questions/1074200/serve-a-dynamically-generated-image-with-django. Is there a way to transport data from Pycairo surface directly into HTTP response? I'm doing this for now: data = surface.to_rgba() im = Imag...

How to move the image from one point to another ?

i want to move the image from one point to another.what class(es) are needed for this ...