Announcement

Collapse
No announcement yet.

Graphic Converter DLL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Graphic Converter DLL

    Does anyone know of any 3rd party graphic converter DLLs available for sale?
    I need stuff like .TIFF to .BMP and .DWG to .BMP and .JPG to .BMP
    Jim Seekamp

  • #2
    Image Source by Smaller Animals might do what you want.

    Comment


    • #3
      Jim, are you sure about the DWG?
      That's typically a complex, proprietary, vector format, and while there are libraries that can do the rasterization, if that's not really needed you'll have more options to choose from - like the one just suggested by James.

      Bye!
      Last edited by Marco Pontello; 15 Nov 2007, 05:57 PM.
      -- The universe tends toward maximum irony. Don't push it.

      File Extension Seeker - Metasearch engine for file extensions / file types
      Online TrID file identifier | TrIDLib - Identify thousands of file formats

      Comment


      • #4
        http://openil.sourceforge.net/ for Developers Image Library. Completely free and works fine. Search around the pb site for includes converted to pb.
        "There are two novels that can change a bookish fourteen-year old's life: The Lord of the Rings and Atlas Shrugged. One is a childish fantasy that often engenders a lifelong obsession with its unbelievable heroes, leading to an emotionally stunted, socially crippled adulthood, unable to deal with the real world. The other, of course, involves orcs." - John Rogers

        Comment


        • #5
          Thanks!
          Yes, you're right Marco; I don't really need the dwg to convert.
          Jim Seekamp

          Comment


          • #6
            Russ,
            Will DEVil convert image sizes and work with a file in memory?
            This .dll appears to be only 855k Vs 1.13MB for ISource.
            Is there anything smaller?

            Comment


            • #7
              Mike,

              Yes, you can scale in memory. If upx the dll it goes down to about 280k.

              Russ
              "There are two novels that can change a bookish fourteen-year old's life: The Lord of the Rings and Atlas Shrugged. One is a childish fantasy that often engenders a lifelong obsession with its unbelievable heroes, leading to an emotionally stunted, socially crippled adulthood, unable to deal with the real world. The other, of course, involves orcs." - John Rogers

              Comment


              • #8
                >If upx the dll it goes down to about 280k.
                Russ what does this mean?
                Are there two versions of the dll?
                Are you referring to this Include file?

                This is very incomplete... unless you have a better one?

                Comment


                • #9
                  This .dll appears to be only 855k Vs 1.13MB for ISource. Is there anything smaller?
                  Compared to the size of the graphics files you likely are working with, this is tiny.

                  Besides, size of an executable file means precisely nothing; DLLs especially, since those are loaded in Windows' half of your memory; but let's just say your process DOES have to 'pay' for it: 1 Mb is only one two-thousandth of your available memory. (0.05 percent if my math is correct. )

                  MCM
                  Michael Mattias
                  Tal Systems (retired)
                  Port Washington WI USA
                  [email protected]
                  http://www.talsystems.com

                  Comment


                  • #10
                    Why not use GDI+
                    It's nowadays on the computer anyway..
                    hellobasic

                    Comment


                    • #11
                      Michael,
                      I have to ship all these components in an installer. At this rate it will be 10MB. T

                      >Why not use GDI+
                      I would like to use something that has no dependencies on OpenGL, GDi etc. I need to support OS's going back to at least win2k and ideally win98

                      I would like something lightweight and self contained if at all possible...
                      Last edited by Mike Trader; 17 Nov 2007, 10:48 PM.

                      Comment


                      • #12
                        >I have to ship all these components in an installer. At this rate it will be 10MB

                        You have about 100 Mb PRE-COMPRESSION?

                        So what's another one meg?

                        I have got to be missing something here.
                        Michael Mattias
                        Tal Systems (retired)
                        Port Washington WI USA
                        [email protected]
                        http://www.talsystems.com

                        Comment


                        • #13
                          Mike,

                          UPX is an exe & dll compressor. http://upx.sourceforge.net/

                          It decompresses in memory. When you create a package with something like InnoSetup, it will compress as well, so there's not really a gain in using upx in that case. If you're sending individual components over a network, then of course it helps.

                          I'm pretty sure I used the include from Edwin and it had enough in it to load a variety of gfx file formats & scale them. I haven't pushed it any farther then that, as that's what I needed. It shouldn't be to hard to convert more & I think you can get help on that here if you need it.

                          Russ
                          "There are two novels that can change a bookish fourteen-year old's life: The Lord of the Rings and Atlas Shrugged. One is a childish fantasy that often engenders a lifelong obsession with its unbelievable heroes, leading to an emotionally stunted, socially crippled adulthood, unable to deal with the real world. The other, of course, involves orcs." - John Rogers

                          Comment


                          • #14
                            Mike,
                            I had this conflict a while back when needing to distribute my images and PB (as well as others only natively supports *.bmp), so I first went the route of some snippets around here (and 3rd party dll's) that I could zip, and convert formats so that I could store a *.jpg (which is smaller than bmp typically) and at runtime, unzip and convert to the larger bmp.

                            Later my boss used I think Corel to make vector-based bmp's that were MUCH smaller and I saw no loss in image quality, so I got to drop the 1st concept. So you may consider using something vector based to reduce size.

                            Later I had to add PDF's and other documentation (which unless I did it by hand and "Re-Create" Adobe algorithms) my exe got much larger.

                            Currently, with all PDF's, Images, and other support stuff my exe is 4.16 MB (4,366,336 bytes)...all in all not bad for a program that is under 400K in actual code. and even better when you stop to think that something like that compared to programs that get bigger all the time (hundreds of megs, CD distribution, and nowdays some so huge they take multiple DVD's)

                            Unless you really need to split hairs to the point of "Just HOW small can I make it", I would not worry much about what you don't have much (if any) control over vs how WICKED small PB makes your code compared to other programming languages and compilers.

                            (My whole program is less than 1/3 the size of just 1 appnote(pdf) that is included in it...so thats pretty cool to me )
                            Engineer's Motto: If it aint broke take it apart and fix it

                            "If at 1st you don't succeed... call it version 1.0"

                            "Half of Programming is coding"....."The other 90% is DEBUGGING"

                            "Document my code????" .... "WHYYY??? do you think they call it CODE? "

                            Comment


                            • #15
                              Pdf

                              Any suggestions for PDF to BMP conversion??

                              Jim
                              Jim Seekamp

                              Comment


                              • #16
                                Maybe you can use the ghostscript convertor.
                                hellobasic

                                Comment


                                • #17
                                  I haven't tried but http://www.pdftoall.com/ has a bunch of pdf to xxx programs. There's one for pdf to bmp. If it's a command line then you could shell.
                                  "There are two novels that can change a bookish fourteen-year old's life: The Lord of the Rings and Atlas Shrugged. One is a childish fantasy that often engenders a lifelong obsession with its unbelievable heroes, leading to an emotionally stunted, socially crippled adulthood, unable to deal with the real world. The other, of course, involves orcs." - John Rogers

                                  Comment


                                  • #18
                                    PDF Converter

                                    Thanks!
                                    Jim Seekamp

                                    Comment

                                    Working...
                                    X