Announcement

Collapse
No announcement yet.

Graphic Converter DLL

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

  • Jim Seekamp
    replied
    PDF Converter

    Thanks!

    Leave a comment:


  • Russ Srole
    replied
    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.

    Leave a comment:


  • Edwin Knoppert
    replied
    Maybe you can use the ghostscript convertor.

    Leave a comment:


  • Jim Seekamp
    replied
    Pdf

    Any suggestions for PDF to BMP conversion??

    Jim

    Leave a comment:


  • Cliff Nichols
    replied
    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 )

    Leave a comment:


  • Russ Srole
    replied
    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

    Leave a comment:


  • Michael Mattias
    replied
    >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.

    Leave a comment:


  • Mike Trader
    replied
    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, 11:48 PM.

    Leave a comment:


  • Edwin Knoppert
    replied
    Why not use GDI+
    It's nowadays on the computer anyway..

    Leave a comment:


  • Michael Mattias
    replied
    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

    Leave a comment:


  • Mike Trader
    replied
    >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?
    http://www.powerbasic.com/support/fo...ML/001383.html
    This is very incomplete... unless you have a better one?

    Leave a comment:


  • Russ Srole
    replied
    Mike,

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

    Russ

    Leave a comment:


  • Mike Trader
    replied
    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?

    Leave a comment:


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

    Leave a comment:


  • Russ Srole
    replied
    http://openil.sourceforge.net/ for Developers Image Library. Completely free and works fine. Search around the pb site for includes converted to pb.

    Leave a comment:


  • Marco Pontello
    replied
    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, 06:57 PM.

    Leave a comment:


  • james klutho
    replied
    Image Source by Smaller Animals might do what you want.

    http://www.smalleranimals.com/isource.htm

    Leave a comment:


  • Jim Seekamp
    started a topic Graphic Converter DLL

    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
Working...
X