Solved

Converting bmp to gif in a line command

Posted on 2000-02-29
1
292 Views
Last Modified: 2013-12-25
I need to reactualize an image on a Web page, depending on some numerical values, and I have a program that is able to generate bmp file. How can I convert these files into gif automatically?
0
Comment
Question by:dansorea
1 Comment
 
LVL 16

Accepted Solution

by:
maneshr earned 200 total points
ID: 2573503
if you are on Windows platform, this is what you need..

i donwloaded, installed & test the same & it works quite fine.
Since its a demo version, the output .gif file has the company's watermark.
Therefore you have to purchase a registered version to get your output without the watermark.

=====================================================
2GIF.EXE is a command-line utility which allows you to convert images from 15 popular formats into GIF.


You can convert to GIF format from BMP, DCX, DXF, EPS, FPX, GIF, IMG, JPG, PCD, PCX, PNG, Targa, TIFF, WPG, and WMF.

In addition, the program supports zooming and interlacing, and lets you perform conversions in batch mode.

You can get a demo version at ...
http://softseek.zdnet.com/Graphics_and_Drawing/Graphics_Conversion_and_Optimization/Review_28610_index.html

=====================================================
Command line syntax:
2gif.exe s=<SP> d=<DP> -w<W> -h<H> -prop -rot<ANGLE> -CD<CD> -sep -ov -sf -i -g

<SP>      - Source file(s) path. Can be mask:
            <folder path>\*.* - convert all graphics files from folder
            <folder path>\*.bmp - convert all Bitmap files from folder
            <folder path>\MyImage.* - convert all files with name "MyImage" from folder
            <folder path>\MyImage.bmp - convert only "MyImage.bmp" from folder
<DP>      - Destination folder path.

<CD>      - Destination file(s) color depth(8 by default);
            Must be set as 8 or 4.

<W>         - Destination image width (width of the source image by default).
<H>         - Destination image height (height of the source image by default).
-prop      - Scaling will be proportionally if this key set.

-sep      - Separate multipage images (GIF, TIFF, DCX) if this key set.

-ov      - Overwrite existing destination files if this key set.

-sf      - Scan subfolders if this key set. Converted files will be placed into destination
            folder with source folders structure saving.

-i      - Interlaced GIF file if this key set.
-g      - Save image in grayscale palette if this key set.

<ANGLE>      - Destination image rotation angle (0 by default)
            Must be set within the range of -360..0..360. The angle step is 1.
----------------------------------------------------------------------------
Command line examples:

2gif.exe s="C:\MyDocuments\*.*" d="C:\GIF_Files"
2gif.exe s="C:\MyDocuments\*.*" d="C:\GIF_Files" -w300 -h500
2gif.exe s="C:\MyDocuments\*.*" d="C:\GIF_Files" -w300 -h500 -prop
2gif.exe s="C:\MyDocuments\*.*" d="C:\GIF_Files" -w300 -prop
2gif.exe s="C:\MyDocuments\*.png" d="C:\GIF_Files" -cd8
2gif.exe s="C:\MyDocuments\name.*" d="C:\GIF_Files" -w300 -h500 -prop -rot30 -cd4 -sf -ov -sep
2gif.exe s="C:\MyDocuments\name.*" d="C:\GIF_Files" -rot30
----------------------------------------------------------------------------
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Reason for High TTFB 1 34
Website URL redirection 10 52
logo disappears on cell phones 5 31
modify h2 4 8
Read about why website design really matters in today's demanding market.
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now