| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Hello everyone. It's been quite a time since I last visited this group, and It's sure fun to be back with QT programming. I am involved in developing a server application, running on windows, that receives all kinds of image-processing requests. One preliminary step taken with every request, is "clipping". I get (in memory) a tiff-compressed image buffer (usually 200-300 dpi grey-scale, A4 sized image), plus a list of 1-50 rectangles. I need to provide (again, in memory) a set of PNG compressed clips of the original image. we do millions of these requests daily, and the current implementation is simply too slow. I want to do this using QuickTime API's. It's an object that will operate under windows, within the server application. Notes: 1. original images are different sizes (may be different resolution and maybe even different compression/format). 2. clips are different sizes. For one session of the server, they will be the same output format (1-bit black/white, PNG compressed). I already wrote a working skeleton for the tool, but I'm quite confused with the huge number of API calls that don't tell you what's right for your situation. Questions: My current problem is with a Image Compression Sequence I am using. For some reason, It fixes on the "source rect" of the first clip I'm compressing, and from that moment on, all clips come out the same size, despite the different "source rect" I'm providing to the CompressSequenceFrame() function. What am i doing wrong here? What is the fastest way to decompress a series of DIFFERENT SIZED images, whose other features (format, depth, compression) are the same? How can tell an Image Decompression Sequence to only decompress PART of an input image (something that will get down to CDBandDecompress) so that I save the time decompressing the whole Image when I only need clips of it? Thanks a lot for any advice! |
_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-api/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.