Restored from previous forum. Originally posted by LJ.
Two new commands:
UseGIFImageDecoder()
UseTIFFImageDecoder()
GIF and TIFF Support
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
> UseGIFImageDecoder()
> UseTIFFImageDecoder()
I know GIFs are licensed, but I don't know about TIFFs... but that's why you can't
use GIFs in PureBasic (too expensive). The NViewLib.DLL will let you load GIFs
into PureBasic (see the Beginner's FAQ on these forums).
> UseGIFImageDecoder()
> UseTIFFImageDecoder()
I know GIFs are licensed, but I don't know about TIFFs... but that's why you can't
use GIFs in PureBasic (too expensive). The NViewLib.DLL will let you load GIFs
into PureBasic (see the Beginner's FAQ on these forums).
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Amiga5k.
My knee-jerk reaction is to say, "Forget about gif. It's been superceded by many more flexible and powerful (and license free) formats such as .png". And it's true, except when you're dealing with the web, gif is still much alive and kicking..at least for now.
Gif has been around a while, so there are a pretty good number of tools out there for making animated gifs, etc. Personally, I'd use png if you need lossless gfx, or jpg is you're looking for really small file sizes.
Russell
p.s. I hear a lot of people refering to gifs as "jifs" ('j' as in 'Jane'), rather than gif ('g' as in graphic - which is what the 'g' in gif actually stands for ). Just wanted to annoy someone.
***Commodore 64 - Over one million cycles per second, 16 vibrant colors, 3 incredible audio channels and 38,911 Basic Bytes Free! Who could ask for anything more?***
My knee-jerk reaction is to say, "Forget about gif. It's been superceded by many more flexible and powerful (and license free) formats such as .png". And it's true, except when you're dealing with the web, gif is still much alive and kicking..at least for now.
Gif has been around a while, so there are a pretty good number of tools out there for making animated gifs, etc. Personally, I'd use png if you need lossless gfx, or jpg is you're looking for really small file sizes.
Russell
p.s. I hear a lot of people refering to gifs as "jifs" ('j' as in 'Jane'), rather than gif ('g' as in graphic - which is what the 'g' in gif actually stands for ). Just wanted to annoy someone.
***Commodore 64 - Over one million cycles per second, 16 vibrant colors, 3 incredible audio channels and 38,911 Basic Bytes Free! Who could ask for anything more?***
NewLib.DLL library doesn't work properly when displaying .GIF's over a Box in an image handle. It only works over the plain gray background of a window which is not good for my current project.
As to the other posts about .GIF's. It all depends on the picture you have. Purchase a program called FireWorks by Macromedia or a similar program. What you have are different compressions good for different types of pictures. GIF's compress the pictures I want to display to about 10K, JPG equivalent is 100K, and BMP equivalent is 650K. Now this isn't true for all pictures. I don't have the time to give you the low down on what types of pictures the different compressions and ultimately different color palettes work best for, but a good book is entitled Optimizing Graphics for the Web which deals with this.
It is incorrect to say GIF has been superceded by more powerful formats. It is correct to say that the compression you choose depends on the picture itself and I highly recommend you purchase Fireworks to dive deeper into this subject giving you a greater understanding of compression technology.
As to the other posts about .GIF's. It all depends on the picture you have. Purchase a program called FireWorks by Macromedia or a similar program. What you have are different compressions good for different types of pictures. GIF's compress the pictures I want to display to about 10K, JPG equivalent is 100K, and BMP equivalent is 650K. Now this isn't true for all pictures. I don't have the time to give you the low down on what types of pictures the different compressions and ultimately different color palettes work best for, but a good book is entitled Optimizing Graphics for the Web which deals with this.
It is incorrect to say GIF has been superceded by more powerful formats. It is correct to say that the compression you choose depends on the picture itself and I highly recommend you purchase Fireworks to dive deeper into this subject giving you a greater understanding of compression technology.
JIF is an JPEG format, JFIF Compliant (.jif; .jiff; .jfif) which hasAmiga5k wrote:p.s. I hear a lot of people refering to gifs as "jifs" ('j' as in 'Jane'), rather than gif ('g' as in graphic - which is what the 'g' in gif actually stands for <img src="images/smiles/icon_smile.gif" />). Just wanted to annoy someone.
nothing to with GIF - but its a real used format.