|
-
Mar 9th, 2002, 08:05 PM
#1
Thread Starter
Lively Member
Anyone know how to make a simple graphics converter?
Hello, I was wondering if any of you guys out there knew how to make a simple graphics program. Nothing advanced like a drawing program, just a program that will allow me to convert popular graphics types like .gif/.jpg/.bmp/etc. and optimize them and save them. Thanks.
-
Mar 13th, 2002, 11:35 AM
#2
Hyperactive Member
Sorry Dear friend,
I have tried many ways to do the Graphic Converting. But in VB, I can say this is VERY VERY Hard. almost impossible, so forget it.
-
Mar 13th, 2002, 07:46 PM
#3
Thread Starter
Lively Member
-
Mar 13th, 2002, 10:57 PM
#4
If it is hard in VB, it is either hard in ANY language, or you are doing something wrong. From what I have heard, jpg conversions are hard, while there are easier formats out there. All you need to know is Binary file IO, which anyone can pick up in a few hours, and the file format. At that point, it is just implementing read/write algorithms. Simply read the image data into an intermediary format (stored in memory), that you can pass to a function that will write into the specified format.
Z.
-
Mar 14th, 2002, 03:55 PM
#5
But when you do this, all advantages of VB over other languages like C/C++ are lost. The whole UI of such an app would be a dialog, which is easy even in C. Compression algorithms like the one for JPEG would be a lot faster then (but in reality, it doesn't matter because File I/O is always slow).
Problem with VB in this case is that it is very hard to use third person libraries such as Intel's JPEG library (very fast, especially on a Pentium )
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|