image-processing

Is there a component that can convert a word RTL document to an image without using a virtual printer?

I need a component that I can use with C# to convert a word document to an image. There are a lot of solutions out there to do so, but almost all of them use a virtual printer to do that. I don't want a virtual printer involved because we have to install it on every client that uses our application (over 500 computers) . I have found Asp...

[Django] Uploading and processing files on remote server

I have a somewhat complex problem or at least it appears like this. In my project I'm dealing with really big image files uploaded by users. Storage is provided by separate media server which also generates thumbnails. Thumbnails are not created immediately, so there will be a cron function to check if they're ready. There are also files...

ffmpeg split avi into frames with known frame rate

I posted this as comments under this related thread. However, they seem to have gone unnoticed =( I've used 'ffmpeg -i myfile.avi -f image2 image-%05d.bmp' to split 'myfile.avi' into frames stored as .bmp files. It seemed to work except not quite. When recording my video, I recorded at a rate of 1000fps and the video turned out to be 2m...

What are currently the best image processing libraries for Java?

I am looking for a java library that can scale, crop images without losing much quality, convert between image formats (png<->jpg), etc. There is a similar question already, but it was asked 1,5 years ago and I am hoping maybe there are any new inventions, as everything mentioned there looks outdated (and scary). ...

Out of memory error when i change the contrast or brightness of an image

I can not find a way to stop the out of memory error. The error occurs when I move the brightness or contrast track bar a few times. Here is the code from the main form design for the button_click event that that opens the brightness and contrast form and send the value of "foto". private void menuItemBrightness_Click(object sender, Ev...

java.awt.image.BufferedImage 24-bit RGB to 8-bit Grayscale conversion using custom ColorSpace

I want to do a simple color to grayscale conversion using java.awt.image.BufferedImage. I'm a beginner in the field of image processing, so please forgive if I confused something. My input image is an RGB 24-bit image (no alpha), I'd like to obtain a 8-bit grayscale BufferedImage on the output, which means I have a class like this (deta...

How to combine multiple PNGs into one big PNG file?

I have approx. 6000 PNG files (256*256 pixels) and want to combine them into a big PNG holding all of them programmatically. What's the best/fastest way to do that? (The purpose is printing on paper, so using some web-technology is not an option and having one, single picture file will eliminate many usage errors.) I tried fahd's sugg...

android image capturing

Hi all, How to add text to camera captured image and save in the DB. Thanks Quest ...

Object detection.

Hi, I am trying to recognize the numbers on the 7-segment LCD display(like the digital watch), and first of all I want to 'draw' a bounding box to focus on the LCD screen to get rid of most of the background noise, but I am still not sure which method is suitable for this task. Can anyone help me? ...

Need help with comparing two pictures in Python.

Hey guys, Im working on an assignment for my comp sci class, I dont know where Im going wrong here. The function is supposed to take two pictures, pic1 and pic2, and return how different they are. Heres what I have def smart_difference(pic1, pic2): '''Given two Pictures, pic1 and pic2 of any size and colour, return the differe...

FreeImage dll nor working for batch process

Hi, I need to load batches of image files and change their dimensions. I'm doing it through FreeImage.dll in C++. Each batch contains JPG and TIF files. The problem is the exe processes the first batch accurately but for further batches it starts skipping some files, specially JPG files. I tried Initializing and Uninitializing FreeIma...

getting image type of remote image in php.

Working on a prebuilt system that grabs remote images and saves them to a server. Currently there is no checking on the image as to whether it indeed exists at that remote location, and it is of a certain file type (jpg, jpeg, gif) and I'm tasked with doing both. I thought this was quite trivial as I'd simply use a simple regex and get...

PHP: Merging images into an alpha translucent image with GD

I'm trying to create an image with varying level of transparency, using GD. But I can get only fully transparent or fully opaque pixels in the image. What I want to get:                                                      What I actually get:                                                                        Here's a piece of t...

imagemagick compare -metric rmse result interpretation

hi All, i did the following to get difference between two png files: compare -metric rmse a.png b.png null: result i got is: 3374.35 (0.0514893) i am running it on windows. Can you please tell me what those numbers mean? Does the b.png deviates too much from a.png? Can you give me link, if possible, where I can read on results e...

How to cut out and save a rectangle from an image?

How can cut the image and save it block to another image? ...

Php webservice that takes JSON via POST and spits back an image.

(Preamble: This seems like such a typical thing to want to do that I was surprised I didn't immediately find examples and tutorials about it. So I thought it would be valuable to have as a StackOverflow question. Pointers to related examples and tutorials will certainly be welcome answers.) To make this concrete, the goal is a webservic...

How do I associate a button with a control?

OR - How To Shave A Koala To Stop It Looking Squashed. (But I didn't think that would make a suitably techy title) The Problem: You have three preview images derived from a main image. The preview images are resized for standardised picture spaces on a company website, the main image can be any size image from anywhere. Example: The ma...

ipad, sdk, CGBitmapContextCreate

Hi, right now im working on an application that accepts cgimageref, process the pixels of the image and returns the processed cgimageref. To check how it works i simply wrote a code to pass the cgimageref and expects the same image to be returned with out being processed. But the problem is that im not getting back the exact image. the r...

Saving hi-res images to photo album

I'm developing a simple image processing app and I've encountered an issue on my test unit (iPhone 3G) that generally any image over 1024x1024 pixels will cause the app to crash when saving. The process my app follows: User selects an image via UIImagePicker A working copy of the selected image is created and resized to the view bou...

Loading large image in parts in Timage component

I have a large images on server. When user request for any one I download them on to the client machine and once it is complete I load it into Timage control. Now what client is requesting that the image must come in chunks(parts) and as soon as a chunk is downloaded it must be shown in Timage control and as soon as other chunk download...