| | Re: Parts Cataloging Program Don Heyse
|
| | In lugnet.cad.dev, Steve Bliss writes: <SNIP> (...) I've been meaning to ask about image file formats for a while now. What are the preferred file formats for these pics? Right now I have ldglite dumping png files since they're true color, fairly (...) (25 years ago, 23-Mar-00, to lugnet.cad.dev)
|
| | |
| | | | Re: Parts Cataloging Program Steve Bliss
|
| | | | (...) Which pics? The ones in the ldraw\vec directory? Or part-images in general? Png is a good format, but still not very widespread. LDAO reads bmp 10x faster than anything else, and doesn't recognize png. I usually do gif for web stuff, and (...) (25 years ago, 24-Mar-00, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: Parts Cataloging Program Rui Manuel Silva Martins
|
| | | | (...) JPG is NOT lossy, i.e. it's NOT required to be lossy, it can be defined to be 100% accurate ! (...) Actually I think that the best format is the GIF format, due to the type of compressing it uses and our specific renderer used for the (...) (25 years ago, 27-Mar-00, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: Parts Cataloging Program Steve Bliss
|
| | | | | (...) Is there some other way to compress JPG files, besides lowering the quality? Whenever I save a JPG file with 100% accuracy, the saved file is huge (ie, about the same size as a similar BMP file). (...) I've never heard of any kind of (...) (25 years ago, 28-Mar-00, to lugnet.cad.dev)
|
| | | | | |
| | | | | | | Re: Parts Cataloging Program Don Heyse
|
| | | | | | (...) This problem is why I chose PNG. It compresses flat shaded images quite well and still retains the true color pixels. My comprehensive testing of one sample image (the one on the LdGLite web page) put the PNG file at about half the size of the (...) (25 years ago, 28-Mar-00, to lugnet.cad.dev)
|
| | | | | | |
| | | | | | | | Re: Parts Cataloging Program Steve Bliss
|
| | | | | | (...) Well, it's not *that* big'o'deal: GIF is restricted to 256 colors. If you convert down to 256 colors, will PNG give compression on par with GIF? If it doesn't, you can always look into BMP/RLE. FYI, here are some links into the MS (...) (25 years ago, 28-Mar-00, to lugnet.cad.dev)
|
| | | | | | |
| | | | | | | | Re: Parts Cataloging Program Don Heyse
|
| | | | | | (...) From what I've seen PNG gives BETTER compression than GIF for flat shaded ldlite type images, and as far as I can tell it only does 32bpp true color. I put a sample PNG on the ldglite web page if you want to try converting to various formats (...) (25 years ago, 29-Mar-00, to lugnet.cad.dev)
|
| | | | | | |
| | | | | | | | Re: Parts Cataloging Program Leonardo Zide
|
| | | | | | | (...) A long time ago I submited a patch to make ldlite save 256 color bitmaps, was it never applied ? (...) (URL) but most Linux distributions have it too. Leonardo (25 years ago, 29-Mar-00, to lugnet.cad.dev)
|
| | | | | | | |
| | | | | | | | | Re: Parts Cataloging Program Don Heyse
|
| | | | | | | | (...) I didn't see it, but I didn't look really hard at the windows specific code since I'm bypassing it for something more portable. If you still have the code I could try to paste it in with the other two formats. Don (25 years ago, 29-Mar-00, to lugnet.cad.dev)
|
| | | | | | | | |
| | | | | | | | | | Re: Parts Cataloging Program Leonardo Zide
|
| | | | | | | | (...) I don't know the exact files that I changed, I remember that I unziped LDLite 1.6 and added a #ifdef BMP_HIGHCOLOR, I'm sending what I have in another message. The code is not Windows specific, it was taken from the LeoCAD image routines and (...) (25 years ago, 29-Mar-00, to lugnet.cad.dev)
|
| | | | | | | | |
| | | | | | | | Re: Parts Cataloging Program Jacob Sparre Andersen
|
| | | | | | Don: (...) In some, but admittedly very few, cases GIF gives a better compression than PNG. (...) PNG does anything from 1 to (at least) 64 bit/pixel, including up to (at least) 16 bit/pixel graduated transparency. Play well, Jacob ---...--- -- (...) (25 years ago, 29-Mar-00, to lugnet.cad.dev)
|
| | | | | | |
| | | | | | Re: Parts Cataloging Program Jacob Sparre Andersen
|
| | | | Rui: (...) You are probably right, but JPEG is defined _for_ lossy compression. It is definitely not the correct choice if you want loss-less compression. (...) Maybe, but GIF is covered by a patent (not a problem in Europe yet), and PNG generally (...) (25 years ago, 29-Mar-00, to lugnet.cad.dev)
|
| | | | |