imaging

Fastest, easiest way to recover PCs lost to viruses and malware?

Probably like most people here I get the awesome task of looking after all my elderly relatives PCs, because 'you know about computers'. Right now I'm reinstalling XP on two of them, instead of doing useful work, because they are so infected with viruses and malware from general internet surfing ("you're our thousandth customer, click he...

AJAX Thumbnails

Hello, Does anyone know of any free frameworks that help you create thumbnails for web pages, that when clicked, the original image loads ontop of the page (modal like), as oppossed to opening a separate page. Thanks! ...

Image Zoom using javascript?

Has anyone got to some good code to zoom into an image using javascript? I know I could just resize it etc but was being lazy and looking for something clever to zoom to different levels, move around when zoomed etc ...

How do I draw text at an angle using python's PIL?

Using Python I want to be able to draw text at different angles using PIL. For example, imagine you were drawing the number around the face of a clock. The number 3 would appear as expected whereas 12 would we drawn rotated counter-clockwise 90 degrees. Therefore, I need to be able to draw many different strings at many different angl...

How can I draw a bezier curve using Python's PIL?

I'm using Python's Imaging Library and I would like to draw some bezier curves. I guess I could calculate pixel by pixel but I'm hoping there is something simpler. ...

Lookup Op performance

I'm trying to squeeze some more performance out of my rendering pipeline. The (by far) slowest part is performing a java.awt.imaging.LookupOp on a large image. The image size is about 2048x2048. I have figured out that having the filter done along with the drawing operation is much faster than calling the filter method. However thi...

Imaging Question: How to determine image quality?

I'm looking for ways to determine the quality of a photography (jpg). The first thing that came into my mind was to compare the file-size to the amount of pixel stored within. Are there any other ways, for example to check the amount of noise in a jpg? Does anyone have a good reading link on this topic or any experience? By the way, the ...

C# TWAIN interaction

Hello, I'm trying to set up a C# application which uses TWAIN example from http://www.codeproject.com/KB/dotnet/twaindotnet.aspx This works fine except that I need to cast Form to IMessageFilter and call IMessageFilter.PreFilterMessage() to catch TWAIN callbacks. Also I need to start this filtering by calling Application.AddMessag...

Generate image file with low bit depths?

bpp = bits per pixel, so 32bpp means 8/8/8/8 for R/G/B/A. Like .NET has an enum for these "System.Drawing.Imaging.PixelFormat". Now once I have a Bitmap or Image object with my graphics, how would I save it to a file / what format would I use? What image file format (JPEG/GIF/PNG) supports low bit-depths like 16bpp or 8bpp (instead of...

Effective way of making negative of image without external dlls

Hello, That is the solution to make a negative from a image in C# Windows Forms without any dlls and in a effective, fast way? ...

Save WPF image with Shader effects applied

I have a WPF Image control with attached blur effect. Is there a way to save the image (with blur) without using RenderTargetBitmap? Thank you. UPDATE: I'm using now new custom effect which derives from System.Windows.Media.Effects.ShaderEffect. I would like to save my image with shader effect applied. ...

Quick creation of fresh OS install for software testing

What do you recommend for quickly creating images for testing a software product (that needs hardware access - full USB port access)? Does virtualization cover this? I need to be able to quickly re-image the system to test from scratch again, and need good options for Windows and Mac OS. ...

How do you specify the specific Group 3 tiff compression?

Group 3 compress has 2 variations (Group 3 1D and Group 3 2D). When saving an image in Tiff format, there is only one option for Group 3 in the EncoderValue enumeration. Is there a separate parameter that controls this? ...

Using pixel fonts in PIL

Hi, I am creating images using PIL that contain numerous exactly placed text strings. My first attempt was to convert pixel fonts into the pil-compatible format as described here. For example, I download the Silksreen font and convert it: otf2bdf -p 8pt -o fonts/slkscr.bdf fonts/slkscr.ttf pilfont.py fonts/slkscr.bdf I can then us...

Best languages/frameworks for imaging Linux app

Hello all. I'm looking for the best tool/language/library/framework to develop a document scanning/imaging/indexing application that must run on KDE/Linux. The application must provide the following functionality: 1) Document scanning (simple and multipage) in B/W, save the scanned images in TIFF format with CCITT Group 4 compression. ...

Image Resize C#,VB.NET Opensource Library

Any one point me on good direction on how to resize a jpg image to exactly particular size (Both File size and pixel size Ex. 148 x 72 px , 300 KB ). To Acheive this, Quality of images can be adjusted. It may a .NET library /code but it should be free for commercial use / open source. I want it in either C# or VB.NET as library. ...

How to save an EXIF format image file in .NET 3.5

I want to save an image in EXIF format using System.Drawing.Image.Save or a similar method in a C# application using .NET framework v3.5. The MSDN documentation lists EXIF as an option for ImageFormat. However, it does not seem to be supported - at least not without some configuration unknown to me. When I enumerate the built-in encode...

how does silverlight deep zoom work behind the scenes

hey guys i have done few sample projects (just for fun) using silverlight deep zoom. its really cool and exciting stuff. but i was curious to know about what goes on behind the scenes to achieve this sort of thing. the deep zoom composer generates many images and few xml files within sub folders of its data source. can anyone explain ho...

How apply Color Lut over bitmap image in c#

Hi, I am opening different types of images like (8 and 16 bit) and they are (Monocrome, RGB ,palette color). I have raw pixel data of these images. I create bitmap like this for 8 bit images. //for monocrome images i am passing PixelFormat.Format8bppIndexed. //for RGB images i am passing PixelFormat.Format24bppRgb...

Getting color image from bitmap while image is 16bppGrayscale

Hi, Problem No1. My own Related problem I asked the next question here Now the Problem No 2 is. When i am trying to open 16 Bit (Monocrome ) images from their raw pixel data then i am getting Error. Because i am using PixelFormat.Format16bppGrayscale on creation of Bitmap like Bitmap bmp = new Bitmap(Img_Width, Img_Height,PixelForma...