image

Loading, saving, and then loading an image again throws "A generic error occurred in GDI+"

This seems to be in infamous error. I remember getting it a while back for different code, but it's back, with a vengeance, but with some new code that I can't seem to figure out. It's definitely generic, for sure! The Goal I'm trying to build a form that allows a user to: Select an image. Press save (which closes the form), and save...

Convert jpeg/png to an array of pixels in java

How can I convert a string containing a jpeg or png to an array (preferably one dimensional) of pixels? Ideally using classes built into java? ...

How to specify image for the Settings app in iPhone app

How do I specify the image for the Setting in the iPhone for my iPhone app? What are the requirements for the images? ...

How to replace POI images in the ARView

Hi, I'm running an Wikitude application which shows the point if Interest (POIs). When the application starts, I click a button to launch ARView (AUgmented Reality) and there I could see the POI images superimposed on the Live Camera images. Now I want to change those images at frequent intervals. I'm using : // Need handler for c...

SSRS for Sharepoint, Images in a report from a Sharepoint List URL?

Greetings Sabios, I have several reports I run successfully where the data comes from a Sharepoint list in the form of an XML dataset. I am however having trouble with one. I have a report that pulls an image file onto the main body of the report. This data too comes from a Sharepoint list in the form of an XML dataset which sends me t...

UIImagePickerController: Detecting Camera button (shutter) pressed

I would like to call a method that takes an NSNotification immediately after the user presses the camera shutter (i.e when the "Preview" tab bar has the buttons "Retake" and "Use"). I can't use the didFinishPickingImage method because at this time the user has already pressed the "Use" button. I have already implemented this by camer...

Java 2D - Drag Mouse to rotate Image Smoothly

What is the logic that goes behind rotating an image via mouse movement. I know how to rotate using graphics2d.rotate...but having difficulty doing it with the mouse as the source for rotation. Here is basic steps: get mouse x(dx) and mouse y(dy) distances from anchoring point( in this case that would be the center of the image we w...

Binding an Image in WPF ?

Hi, I wanna show an image in WPF that is created by a process, e.g : we have a method that is named createWPFImage() Image createWPFImage() { ... } So, the output of createWPFImage() is an Image. In the XAML code, we have a something like below : <StackPanel.ToolTip> <StackPanel Orientation="Horizontal"> <Image Width="64"...

In WPF, view a portion of an image

We have an image where we create view box coordinates that are topleft/bottom right points within the image that are setup to allow for viewing portions of an image at different times in our application. In WPF, how do we load an image, and with topleft/bottom right points within that image, only show the portion of the image within tha...

Python: default/common way to read png images

I haven't found a standard way in Python to read images. Is there really none (because there are so many functions for so many custom stuff that I really wonder that there are no functions to read images)? Or what is it? (It should be available in the MacOSX standard installation and in most recent versions on Linux distributions.) If t...

How to make a System.Drawing.Image semitransparent?

System.Drawing.Graphics.DrawImage pastes one image on another. But I couldn't find a transparency option. I have already drawn everything I want in the image, I only want to make it translucent (alpha-transparency) ...

Learn Nvidia CUDA

I am C++ programmer that develop image and video algorithims, should i learn Nvidia CUDA? or it is one of these technlogies that will disappear? ...

AS3: loading image dynamically results in error

Hello, I am trying to load an image in Flex (AS3) which already exists: <mx:Image id="Img"/> With this code: Img.load('http://www.path.com/image.jpg'); The path is verified to work, but I always get this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. I used the code from the documentat...

How to modify a .png image with VBScript

I have a need to select a portion of a .png file, with specific cordinators, and delete this area then save the file back with the same name. I would appreciate if you can help to come up with a VBScript script that can accomplish this task. It would be great if all proesses happen in the background, but it would be ok too if the image f...

Is there an API or library for converting DWG to any standard image format?

I am building a back-end management application for an architect company, and they work with DWG files. I am looking for a library that can convert DWG into any image format, preferably in PHP, but I am open to finding a work around in another language and connecting to what I've built so far. ...

How do I detect that Image is outside of (browser)screen and then move it?

I am using this technique to have a popup image of my thumbnails. The only problem is that if the thumbnail is close to one edge of the screen, and the original image is really big, then it gets cut off by the edge of the screen. I know it requires Javascript, but I'm not entirely sure how to detect that the image is outside of the view...

CMS - Save pictures in database, What is the proper structure?

I currently build a CMS system that need to save a lot of pictures per article. I have a lot of questions :-) I need to show the pictures in a few sizes, with or without watermark. In addition I need to have the original picture too, for archive and admin purpose. What that I think to do right now is to save the pictures in the database...

How can I change the name of an image when inserting it to the Android gallery?

When I take a picture with Android's camera app, it is inserted in the gallery with a name identical to it's creation date/time, like "2010-02-04 16.36.15.jpg" In my app i take my own pics, and insert to the gallery them using android.provider.MediaStore.Images.Media.insertImage( ContentResolver cr, Bitmap source, String title, Strin...

Change Image OnMouseOver in ControlTemplate

Here is my XAML: <Style x:Key="ExpanderStyle" TargetType="{x:Type ToggleButton}"> <Setter Property="IsEnabled" Value="True" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate> <Image Source="/Images/SHCalendarLeftArrow.tiff" /> ...

Images printing in Asp.net Crystal Report

Hello Guys, I'm using crystal report in my MVC application. I wanted to display an image on my CR viewer. The image is generated using a Handler. Example if I want to display an image it would be (http://localhost/imagehandler?imageid=1&amp;width=4). Something like that. When I use that in my Crystal Report the image just doesn't show. ...