Results 1 to 5 of 5

Thread: Anyone know how to make a simple graphics converter?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    maryland (it sucks)
    Posts
    124

    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.

  2. #2
    Hyperactive Member Gtarawneh's Avatar
    Join Date
    Mar 2002
    Location
    Unknown
    Posts
    382

    Exclamation

    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    maryland (it sucks)
    Posts
    124
    Thanks guys.

  4. #4
    Zaei
    Guest
    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.

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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
  •  



Click Here to Expand Forum to Full Width