image

Moving image along predetermined path?

Is it possible to set an image into motion along a predetermined path with the push of a button in iphone SDK? I'm not looking for anything fancy. I working on a simple concept, but this would save a lot of animation work. ...

How to interpolate the coordinates of a vector on an image using MATLAB?

For instance, if I have got a vector describing a rectangle xy=[165 88; 401 88; 401 278; 165 278]; on an image. How can I obtain the following vector [165 88; % increase X - hold y 166 88; 167 88; ... ; 399 88; 400 88; 401 88; % hold x - increase y 401 89; 401 90; 401 91; ... ; 4...

C# copy image form PowerPoint to Word

I need a application to copy text and images form PowerPoint to Word. I use this libraries: Microsoft.Office.Interop.PowerPoint and Microsoft.Office.Interop.Word. The text s easy to transfer, but when I find in PowerPoint a shape containing only a image, it show this error: "A generic error occured GDI+", at this part of code: foreach ...

Help Saving an bitmap using OutputStream on Android, following the Activities onPause.

In my activite's onCreate i have public void onCreate() { try { FIStream = super.openFileInput("4.png"); MyImagePort.load(FIStream); FIStream.close(); FIStream = null; } catch (FileNotFoundException e) { Log.w("spriter","File not found"); } catch (IOException e) { e....

Find and Duplicate image with JQuery

I'm attempting to use JQuery to create a dynamic page header using an image that exists in the article. I plan to give the image a class (.thumbnail). I want to remove the image from the article once it is used for the header. Here is the logic: Find IMG tag with .thumbnail class Move that image to a new DIV (#dynHeader), class it ....

How to create a Bitmap from an image file in Android

How to load an image file (on SD card) into a Bitmap on Android? ...

looking for nudity image filter that can test the adult image from other

did any one aware of any new code/program that can filter the adult images being uploaded in website. to my knowledge i found http://www.phpclasses.org/browse/package/3269.html now my question is ... is there any other or new image filter that could do the same process? ...

upload image in flickr from iphone

uploading image into flickr , flickr API provided NSInputStream *imageStream = [NSInputStream inputStreamWithData:imageData]; [request uploadImageStream:imageStream suggestedFilename:@"Foobar.jpg" MIMEType:@"image/jpeg" arguments:[NSDictionary dictionaryWithObjectsAndKeys:@"0", @"is_public", nil]]; but its not working. is ...

Python PIL: color index to RGB

Hi, following this link i was able to load and read pixels from a .gif. That question specifically askes for a RGB value, but the accepted (and most voted answer) that I used as reference gets me to get an int as value. What is it? I guess some sort of index, but how to convert it to a proper rgb value? Thanks [..] img = Image.open(GIF...

ZedGraph - disabling the image edge gradient

How to disable the gradient blurring of the images displayed using ZedGraph? I'm creating a plot where I use a bitmap as a background for other curves: ImageObj img = new ImageObj(someBitmap, coords, CoordType.AxisXYScale, AlignH.Center, AlignV.Center); img.ZOrder = ZOrder.E_BehindCurves; img.IsClippedToChartRect = tr...

facebook javascript, image picker

im having many img tag dynamically printed from facebook album pictures, like below echo '<'img src="' . $photo_detail['src_small'] . '" id="imageurl" onclick="return false" />'; i need is---- when clicking on image the source of image is should set to <'input type="hidden" id="imagesrc"/> value in the form when submitting the form th...

I need to write a .DDS file cross-platform, can someone point me to example?

I need to create a .DDS file with code that runs on both OSX and Windows. Although the format doesn't look difficult, I'd still like an example of writing the file. Note I don't need to read it, just write it. C or C++ and RGBA bitmap. ...

How to block uploads of nude images?

I need a provision of detecting the adult image in the websites where the user uploads the pictures to determine that a picture isn’t acceptable for my site. Can any one suggest the method to do this? I need kind of open source code/program (PHP) that could be implemented in the website and stops the user to upload the picture. Earlier ...

php image not showing

i have following php code which display company logo <?php $key=$_GET['key']; /// key process /// //////////////////// ?> <img src=images/logo.jpg" /> when i run this php file this show logo.jpg but when i call this from <img src="../temp.php?key=123" width="438" height="100" /> it didn't show...

Using Timthumb to Resize Images from CKEditor

I am using CKEditor to do basic text and image input into my website. I have noticed that it is quite sporadic in it's method of generating HTML for images when you add them. (Sometimes it might use height and width tags, other times it might use CSS). I use Timthumb for on the fly image resizing on a number of other websites and find i...

Java 2D drawing and editing objects on an image and detecting shapes from images

Could somebody get me started with the following idea: I want to load an image into my java (java swing) application (a floor plan or blue print). Let's say the floor plan image has a white background with 3 shapes on it (a rectangle, a triangle and a circle). The shapes have a black border. The program should detect these shapes and d...

How to use httpwebrequest to pull image from website to local file

Hello, I'm trying to use a local c# app to pull some images off a website to files on my local machine. I'm using the code listed below. I've tried both ASCII encoding and UTF8 encoding but the final file is not an correct. Does anyone see what I'm doing wrong? The url is active and correct and show the image just fine when I put the...

Bundling images with Blackberry

How do I get bundled images with the BlackBerry Eclipse Plugin 1.1 Beta? I copied an image into "res/background.jpg" and tried to load it using Bitmap.getBitmapResource on background.jpg. Unfortunately, the image wasn't found (Illegal argument exception). I tried moving my image file into the src folder as per the advice here, but that d...

Oval shaped images in ASP.Net 3.5

Hi I need to generate oval shaped images on ASP.Net pages. Either I need to resize it to oval shape when it's being uploaded or show it as oval shape on the fly. Have a look at cac.mysiteportal.com to get an overview of what I am trying to achieve. I am talking about the 3 oval shaped image on the right hand side. Thanks in advance fo...

How do I create an 8-bit PNG with transparency from an NSBitmapImageRep?

I have a 32-bit NSBitmapImageRep which has an alpha channel with essentially 1-bit values (the pixels are either on or off). I want to save this bitmap to an 8-bit PNG file with transparency. If I use the -representationUsingType:properties: method of NSBitmapImageRep and pass in NSPNGFileType, a 32-bit PNG is created, which is not what...