1. picture formats
- Posted by gertie at ad-tek.net Aug 06, 2001
- 521 views
Is there a place we can get the specs of the common pic formats, like .jpg, .gif, .bmp, .png, so we can manipulate them with code we write? I'd like to be able to "read" the colors in certain places, stretch or compress the pics on either axis, and overlay two or more pics. Overlaying would mean i will need to do color changing as well. Being able to pick out text in the pics would be really nice too, as well as discern lines. I am thinking of a application on a windoze box, using IE to display the resulting pic file. All i saw in the archives is .xmp, .jpg, and .bmp readers, and wouldn't you know it, the one pic i am sure i want to read is a .jif. Kat
2. Re: picture formats
- Posted by Derek Parnell <ddparnell at bigpond.com> Aug 06, 2001
- 526 views
Hi Kat, you could try ... http://www.faqs.org/faqs/graphics/fileformats-faq/ ----- Original Message ----- From: <gertie at ad-tek.net> To: "EUforum" <EUforum at topica.com> Subject: picture formats > > > Is there a place we can get the specs of the common pic formats, like .jpg, > .gif, .bmp, .png, so we can manipulate them with code we write? I'd like to be > able to "read" the colors in certain places, stretch or compress the pics on > either axis, and overlay two or more pics. Overlaying would mean i will need > to do color changing as well. Being able to pick out text in the pics would be > really nice too, as well as discern lines. I am thinking of a application on a > windoze box, using IE to display the resulting pic file. All i saw in the > archives is .xmp, .jpg, and .bmp readers, and wouldn't you know it, the one > pic i am sure i want to read is a .jif. > > Kat > > > > >
4. Re: picture formats
- Posted by Irv Mullins <irvm at ellijay.com> Aug 06, 2001
- 476 views
On Monday 06 August 2001 18:06, Chris Bensler wrote: > > > jif? I've never heard of JIF format pics. Do you mean GIF? there's a lib in > the archives. I incorperated it into exoticaX. Works well. You could also > try looking at www.wotsit.org JIF is a format designed to replace GIF's, without the stupid LZW compression license hassle. Converters are fairly common, look on any freeware site. > As for recognizing text in pics. Good luck!! You 'could' make an app to > pick out solid forms of colour. which most graphic text is. Unless it's > fancy text, or antialiased. But even then, you could also look for sharp > lines and geometric shapes in the image to help discern unnatural shapes > in the pic. More than likely you would need some form of database, with > pics of each letter of each font you wish to recognize. So that a > comparison could be made, to decide if in fact the suspected shape is text > or not. Lines would certainly be alot easier to discern. If you can clean up the background, most any software that can convert a scanned page into text can covert the image to text. Even the one that comes "free" with M$ Works can do a halfway acceptable job. You can buy much better text recognition software, of course. Regards, Irv
5. Re: picture formats
- Posted by gertie at ad-tek.net Aug 06, 2001
- 538 views
On 6 Aug 2001, at 15:06, Chris Bensler wrote: > > jif? I've never heard of JIF format pics. Do you mean GIF? Yes, you know, like you can store on xip disks? > there's a lib in the archives. > I incorperated it into exoticaX. Works well. You could also try looking at > www.wotsit.org > > As for recognizing text in pics. Good luck!! You 'could' make an app to pick > out solid > forms of colour. which most graphic text is. Unless it's fancy text, or > antialiased. But > even then, you could also look for sharp lines and geometric shapes in the > image to help > discern unnatural shapes in the pic. More than likely you would need some form > of > database, with pics of each letter of each font you wish to recognize. So that > a > comparison could be made, to decide if in fact the suspected shape is text or > not. Lines > would certainly be alot easier to discern. Yeas, i was going to try for line finding first, and going on length and width of the line, determining what is was from a known plot of the place, and possibly doing a pattern match in areas. Time consuming, i expect. Kat
6. Re: picture formats
- Posted by Rod Jackson <rodjackson_x at hotmail.com> Aug 07, 2001
- 470 views
Kat, While I can't help with the .jpg format and such, I've been tinkering with bitmaps a bit recently. I've got code (including DOS command-line utilities) to resize (to any new dimensions), concatenate, and even thumbnail bitmap images. I've also got a program that shrinks a 24-bit bitmap down to an 8-bit bitmap for easier manipulation (the method I for handling lots of colors, while not very advanced, looks a lot better than simply dropping off the lower 5 bits of color information.) I was planning on packaging them together and contributing them when everything was finalized, but if it'll help, I can send you some of the raw code. (Note that it might take a few days though, as I'm in the process of moving.) Rod
7. Re: picture formats
- Posted by kwibus at ZONNET.NL Aug 07, 2001
- 506 views
IrfanView is a very good (and free) Windows program that can also resize all kinds of pictures to any format you like. It can also convert to other types. http://www.irfanview.com/english.htm ----- Original Message ----- From: "Rod Jackson" <rodjackson_x at hotmail.com> To: "EUforum" <EUforum at topica.com> Subject: Re: picture formats > > > Kat, > > While I can't help with the .jpg format and such, > I've been tinkering with bitmaps a bit recently. > I've got code (including DOS command-line utilities) > to resize (to any new dimensions), concatenate, and > even thumbnail bitmap images. I've also got a > program that shrinks a 24-bit bitmap down to an > 8-bit bitmap for easier manipulation (the method I > for handling lots of colors, while not very advanced, > looks a lot better than simply dropping off the lower > 5 bits of color information.) > > I was planning on packaging them together and > contributing them when everything was finalized, but > if it'll help, I can send you some of the raw code. > (Note that it might take a few days though, as I'm > in the process of moving.) > > Rod > > > > >