473,387 Members | 1,574 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Split tiff and stamp string (GDI+ or DX)

I first of all need to know if the change from .NET 2.0 GDI+ to DirectX would
benefit me in my situation. I need to transform multi-page tiffs to stamped
single- or multi-page tiffs. I have come very close to doing this with GDI+
but it was suggested that it may be beneficial to use the actual graphics
card using DirectX to process the images instead. The amount of pages in
each batch would be anywhere from 500 to 500,000+. This is a rather time
intensive process so the faster it can go the better (as always). If this
would be a smart move any suggestions for references would be excellent. I
am proficcient in C# but C++ I can manipulate and get the hang of. Any help
is *greatly* appreciated.
Apr 11 '06 #1
1 2355
I wouldn't stuff around with dx if your almost finished on your current
approach.

Is it the file access speed or image processing speed that is slowing
down your application.
DirectX wont help you if your reading one image frame at a time from
the harddisk....

My sugestion would be to complete the application in the most expedient
means possible. Then analyse where your are spending most of your
processing time. Then go back and optimise that.

I would imagine that if your stamping consits purly of overlaying an
image onto your tiff then 90% of your time is saving and loading the
image and 10% is the stamping.

However If you are alpha bending in 30 layers of stamps arbitarily
transformed adding some form of Steganography and then adding boarders
and filtering for good effect... Then maybe another API other then
GDI+ would be faster.

-dm

Apr 11 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Maurice Mertens | last post by:
Hello, I'm having troubles with saving a tiff-file with a certain compression and colordepth. This is the code I use: ----------------------------------------------------------------------...
3
by: 246C57AE-40DD-4d6b-9E8D-B0F5757BB2A8 | last post by:
Hi. Why can't I read TIFFs compressed by JPEG using GDI+ Image class? I always get out of memory exception. Thanx.
3
by: Ivan G. | last post by:
Hello, All! Do you know some free or commercial library for .net or c++ which can read TIFF images? With best regards, Ivan G.. E-mail: ivan_gavrilyuk@hotmail.com
2
by: ZUP_DUDE | last post by:
Hi All, I'm using the System.Drawing.Image name space to convert images from one type to another. In this case I am trying to convert a Tiff to a JPEG. The code is as simple as the next two...
0
by: Prasad More | last post by:
I want to open a TIFF file, put a datetime stamp on it and save that file in CompressionCCITT4 format back to the same filename. I have written following code to do this, but getting "Invalid...
3
by: T. Davis | last post by:
In C#, I am able to successfully stream a TIFF image that comes from a BLOB field in a database, save it to file, then convert the pages within TIFF file into jpegs (using GDI+) and display on the...
5
by: Eddie Leung | last post by:
Hi All, As I know that the tiff contain header information, I can use one software called tifftags.exe to get tiff tag information. However, I can't get any reference from vb.net to do such...
5
by: Sameer Gupta | last post by:
what are options for opening / handling tiff files in .Net framework ? which is the best library, namespace ? Please help Regards Sameer Gupta C# Designer & Developer Siemens UK
3
by: =?Utf-8?B?dGtpZWhs?= | last post by:
I have large 1bpp tiff scans of arch. drawings that are typically 12032x16890 pixels (filesize is about a 1 meg +/-) While I can readily view smaller (dimension) files, when I try to do anything...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.