473,662 Members | 2,637 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GIF (GIF87, GIF89) format image

Hi,

I have a problem, I am working with Visual Basic and I need to save a image
in GIF format but Visual Studio always save the file in GIF89 format and I
must save the image in GIF87 format. May anyone please tell me how I could
save the image in GIF87 format or how I could convert a image format to
GIF87?

Thanks in advance
May 28 '07 #1
4 4444
The .NET Framework uses system registered image codecs to encode and decode
images. The framework is using the codec which encodes GIFs in GIF89
format. I don't belive there is one available which encodes in GIF87. You
may need to lookup the GIF87 specification and write the encoder yourself
(which would be a lot of work).

- Andrew

"Vicente García" <nu********@hot mail.comwrote in message
news:O4******** *****@TK2MSFTNG P05.phx.gbl...
Hi,

I have a problem, I am working with Visual Basic and I need to save a
image in GIF format but Visual Studio always save the file in GIF89 format
and I must save the image in GIF87 format. May anyone please tell me how I
could save the image in GIF87 format or how I could convert a image format
to GIF87?

Thanks in advance

May 29 '07 #2
Many thanks,

I have found ImageMagick, it has a console programa "convert" so I can
convert gif to gif87. It is not the best solution but it works

Thanks,regards!

"Andrew Christiansen" <wh******@gmail .comescribió en el mensaje
news:O6******** ******@TK2MSFTN GP05.phx.gbl...
The .NET Framework uses system registered image codecs to encode and
decode images. The framework is using the codec which encodes GIFs in
GIF89 format. I don't belive there is one available which encodes in
GIF87. You may need to lookup the GIF87 specification and write the
encoder yourself (which would be a lot of work).

- Andrew

"Vicente García" <nu********@hot mail.comwrote in message
news:O4******** *****@TK2MSFTNG P05.phx.gbl...
>Hi,

I have a problem, I am working with Visual Basic and I need to save a
image in GIF format but Visual Studio always save the file in GIF89
format and I must save the image in GIF87 format. May anyone please tell
me how I could save the image in GIF87 format or how I could convert a
image format to GIF87?

Thanks in advance


May 30 '07 #3
Vicente García wrote:
Hi,

I have a problem, I am working with Visual Basic and I need to save a image
in GIF format but Visual Studio always save the file in GIF89 format and I
must save the image in GIF87 format. May anyone please tell me how I could
save the image in GIF87 format or how I could convert a image format to
GIF87?
I'm curious, why do you have to save the gif files as GIF87a? The GIF89a
version basically introduced features like storing several images in a
single file (animated gif) and *extension blocks*, like comments. In
these blocks it's possible to store copyright information etc. The image
data itself is pretty much the same thing in these two GIF versions. I
don't think there are any compability issues between them . Anyway,
there's no software in use today that can't read and display both versions.

terje
May 30 '07 #4
Hi,

First of all, sorry for my bad English. I must do it because the software in
which the images are going to be read is very old, (on an Unix machine) and
I haven't permission to update the software because of compatibility issues.

Regards

"Terje" <fa**@usenet.no escribió en el mensaje
news:5c******** *****@mid.indiv idual.net...
Vicente García wrote:
>Hi,

I have a problem, I am working with Visual Basic and I need to save a
image in GIF format but Visual Studio always save the file in GIF89
format and I must save the image in GIF87 format. May anyone please tell
me how I could save the image in GIF87 format or how I could convert a
image format to GIF87?

I'm curious, why do you have to save the gif files as GIF87a? The GIF89a
version basically introduced features like storing several images in a
single file (animated gif) and *extension blocks*, like comments. In these
blocks it's possible to store copyright information etc. The image data
itself is pretty much the same thing in these two GIF versions. I don't
think there are any compability issues between them . Anyway, there's no
software in use today that can't read and display both versions.

terje

May 30 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1914
by: Suzanne | last post by:
Hi all, I'm attempting to save images (that are in jpeg format) to a database column of type image. I've read over the Microsoft Knowledge Base articles for this and I can get things working when the image is in a gif format - but not when the image is in a jpeg format - I get the error that the file can not be found (& I've checked - the file is there)! My code is :
2
2503
by: Paolo Pignatelli | last post by:
I am trying to get an output/file like this (below) in an XML file (MyXmlFile.xml) (which I will use for a slide show) -- <gallery timer="3" order="sequential" fadetime="2" looping="yes" xpos="0" ypos="0"> <image path="images2/Test1.jpg" />
3
5631
by: marwa mohamed | last post by:
salamo alikom hi all when i run report that includes image control linked to a field in the table that contains the image path(on the server)and the record source of the report contains over 30 records a messege shows saying: "Microsoft Access doesn't support the format of the file'file path\filename.jpg' or file is too large.Try converting the file to BMP or GIF format". I want to know which one is the problem (the size) or (the format...
1
7147
by: jty202 | last post by:
I know alot of people have the problem with indexed pixel format. I hope someone can show me the solution to this.I am have problem with graphics with the following code giving the error: "A Graphics object cannot be created from an image that has an indexed pixel format." 'My code
8
7425
by: Paul Loveless | last post by:
Hi all, I've written the following code to retrieve the file format of an image file: Dim objImageFormat As ImageFormat objImageFormat = Me.SourceImage.RawFormat If objImageFormat.Equals(Imaging.ImageFormat.Bmp) Then Me.ImageFormat = "BMP"
18
7435
by: Andrew Christiansen | last post by:
Hey all. The images I create in photoshop with semi-transparent pixels (for instance in Photoshop text with a dropshadow with a transparent canvas) I've been saving in PNG format and then using them in my VB.NET app using the picturebox control. I was really happy when I learned that you could use PNG images in VB.NET so your images could blend in with the form's background color. But, is PNG the ideal image format to use with these...
1
1940
by: Ben Becker | last post by:
Why when I open an image in VB.NET, display it in an image box, then call the image.save property to save it to a file as a different format (e.g. tiff image with save to jpeg) does it become 10 bigger on disk? I have noticed that saving to GIF doesn't have this problem. I have tried adjusting the encoder properties with not much success. I also notice that taking JPEG to tiff results in large files to. What gives?
8
12582
by: **Developer** | last post by:
Seems that Dot.net can not handle files of Indexed Pixel Format as well as other types of formats. Given a file or and Image of type Indexed Pixel Format is there a method to convert it to some other pixel format? Thanks
0
2039
by: Independent | last post by:
Python programmers may find the application to decoding an encrypted map image format known as Memory Map to produce a standard PNG image file interesting. Someone obviously very well versed in Python and in the intricacies of image files has written a routine to decode originally the UK Landranger maps, so that they can be used with other mapping and GPS programs apart from the restricted Memory Map viewer. You can get the details in...
0
8435
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8857
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8547
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4181
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4348
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2763
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1999
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1754
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.