473,399 Members | 3,106 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,399 software developers and data experts.

DirectX: Do I need this?

I am building a .net app that does some simple image tasks (Tiff
files): viewing Tiff, viewing thumbnails from multipage tiff,
rotation, page (frame) deletion, etc.

The problem is that it is so frustratingly slow. Creating and viewing
thumbnails for a 50-page tiff (scan of text document) takes about 40
seconds. Commercial image viewers do the same thing in a split second.

I read on bobpowell.net that for fast GDI+, you need DirectX 9.0. I
don't know anything about DirectX. Before I spend days/months
tinkering with it, i'd like to know if DirectX is the "ticket" to a
speedy graphics application. By using DirectX, could my application
potentially be lightening fast for doing the tasks i mentioned above?

Also, is DirectX an alternative to GDI+? Or do they work together?

Thanks for your help!

John

Nov 21 '05 #1
3 1457
Hi,

Directx is an low level api for creating games and multimedia
applications. I dont think you will find much help from directx. Two
suggestion for speeding up program. Create the tumbnail for the tiff page
in the background so the program doesnt appear locked up. Second come up
with a way to store the thumnails. Only create thumbnails for files you
dont have any for or have changed.

http://msdn.microsoft.com/msdnmag/is...g/default.aspx

http://msdn.microsoft.com/msdnmag/is...asicInstincts/

Ken
-----------------------
"johnb41" <or****@informatik.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
I am building a .net app that does some simple image tasks (Tiff
files): viewing Tiff, viewing thumbnails from multipage tiff,
rotation, page (frame) deletion, etc.

The problem is that it is so frustratingly slow. Creating and viewing
thumbnails for a 50-page tiff (scan of text document) takes about 40
seconds. Commercial image viewers do the same thing in a split second.

I read on bobpowell.net that for fast GDI+, you need DirectX 9.0. I
don't know anything about DirectX. Before I spend days/months
tinkering with it, i'd like to know if DirectX is the "ticket" to a
speedy graphics application. By using DirectX, could my application
potentially be lightening fast for doing the tasks i mentioned above?

Also, is DirectX an alternative to GDI+? Or do they work together?

Thanks for your help!

John
Nov 21 '05 #2
Ken Tucker [MVP] wrote:
Directx is an low level api for creating games and multimedia
applications. I dont think you will find much help from directx.


Hmm... Not that I'm able to offer any help to the OP, but I do think DX
could potentially be useful.

It does have some restrictions and limitations, but it would mean that a
thumbnail could be created by getting the graphics hardware to do the
resizing. This could potentially be many times faster than a software
solution.

--

(O)enone
Nov 21 '05 #3
I see 2 replies to my message (thanks to DevelopersDex emailing me a
notification). How come nothing is showing up in Google Groups?
Hmmm...

Anyway, thanks Ken Tucker and Oenone for your replies. I'll definitely
look into "threading" to fool the user to thinking my app is faster!

John

Nov 21 '05 #4

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

Similar topics

2
by: Michael Mayer | last post by:
First of all, sorry for the cross-post. Seems like there should be a managed directx newsgroup. I'm trying to open the following sample application that comes with the DirectX SDK....
1
by: dave | last post by:
I instaled the DirectX on my XP machine, but cannot resolve : using Microsoft.DirectX; What should I do to get it in the visual studio? Thanks
6
by: ammd | last post by:
Hi, I installed Microsoft DirectX 9.0 SDK (Summer 2004) but when I create a project and try to add the necessary references I can't find them. Does anybody know where to look for them? BTW, I have VS...
4
by: Zoury | last post by:
look up your timezome settings... you have future posted.
2
by: Diego_Atos | last post by:
I want to create objects using directX. I downloaded SDK version of DirectX. I've installed it. Which is the right dll to add to references? I can't find it. thanks -- -Diego (Atos)-
0
by: Johann Blake | last post by:
Hi, I want to capture a signal from the sound card (via microphone or line input) using the DirectX.Sound.CaptureBuffer class. One of the properties that can be setup prior to capturing is...
14
by: Jessica Weiner | last post by:
I am writing an application in C# which need to plot graphs and simple shapes (polygons, circles, squares etc). Which library is better for this purpose and why? Thanks.
3
by: Abdul Azeez(BLR) | last post by:
Hi, I need to use DirectX in my application for drawing the network diagram. May I know the procedure to draw a Graph( Rectangular boxes connected with straight lines) using DirectX. Could you...
2
by: Peter Webb | last post by:
Sorry, stupid newbie question. I have VS2008, and I downloaded and installed the DirectX SDK. I want to access the DirectX classes from C#, but I can't see how to make C# aware of them. ...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.