Register - Login
Views: 99870212
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-04-22 06:52:00 PM
Jul - Computers and Technology - Batch PNG -> GIF conversion utility New poll - New thread - New reply
Next newer thread | Next older thread
Xkeeper

Level: 263


Posts: 5050/25353
EXP: 297181949
For next: 1778504

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 4 days
Last activity: 7 hours

Posted on 03-11-08 11:28:24 PM Link | Quote
I just need one that doesn't dither without a reason, is fast, and is commandline.

ImageMagick works, but takes for-fucking-ever.

Irfanview works too, and it's fast, but it reduces the colors and dithers... unacceptable when there's 23 colors to start with.

Saving them via imagegif() in GD has mostly the same result (pointless dithering)...

____________________
Nicole

Disk-kun
Level: 146


Posts: 851/6469
EXP: 38290049
For next: 223245

Since: 07-07-07

Pronouns: she/her
From: Boston, MA

Since last post: 79 days
Last activity: 20 hours

Posted on 03-11-08 11:30:00 PM Link | Quote

I know at one point Acmlm had an old trial version of PSP4 on his server- as I recall, that had a fairly good Batch Conversion tool, though I haven't had to use it in awhile.

____________________
Post 139/1311 (42 days), online 2 days ago
Posted on 03-11-08 11:59:22 PM Link | Quote
Yep, Paint Shop Pro 4 does it fine, no useless dither either (as long as the PNG is 8bit or lower anyway)

But it's not commandline, so I'm not perfectly sure that's what you need



____________________



#68
Joe
Common spammer
🍬
Level: 111


Posts: 325/3392
EXP: 14503168
For next: 365192

Since: 08-02-07

From: Pororoca

Since last post: 13 days
Last activity: 8 min.

Posted on 03-12-08 12:25:36 AM Link | Quote
Well, if the tools work fine on palla palet indexed PNGs and the images aren't indexed to begin with then you could just run them through pngout first.

____________________
涼宮ハルヒの憂鬱。 見て。
The Melancholy of Haruhi Suzumiya. Watch it.
chungy
Member
Level: 31


Posts: 166/174
EXP: 168466
For next: 16897

Since: 08-04-07


Since last post: 14.1 years
Last activity: 13.9 years

Posted on 03-14-08 05:31:53 AM Link | Quote
Originally posted by Xkeeper
ImageMagick works, but takes for-fucking-ever.

What?
for i in *png
do
convert "$i" "`basename "$i" png`gif"
done


protip: if using Windows, install MSYS. Life gets easier.
Xkeeper

Level: 263


Posts: 5072/25353
EXP: 297181949
For next: 1778504

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 4 days
Last activity: 7 hours

Posted on 03-14-08 05:28:23 PM Link | Quote
Originally posted by chungy
Originally posted by Xkeeper
ImageMagick works, but takes for-fucking-ever.

What?
for i in *png
do
convert "$i" "`basename "$i" png`gif"
done


protip: if using Windows, install MSYS. Life gets easier.

system("mogrify.exe -format gif *.png");

Using a for loop to look at every file isn't going to magically make it take less time.


Well, if the tools work fine on indexed PNGs and the images aren't indexed to begin with then you could just run them through pngout first.

PNGOUT takes even longer, and it still doesn't work that way, so...

____________________
Joe
Common spammer
🍬
Level: 111


Posts: 329/3392
EXP: 14503168
For next: 365192

Since: 08-02-07

From: Pororoca

Since last post: 13 days
Last activity: 8 min.

Posted on 03-14-08 07:49:50 PM Link | Quote
Which doesn't work that way, PNGOUT or the PNG to GIF converters you're using? The version of PNGOUT I'm using automatically reduces bit depth whenever possible.

Plus, PNGOUT is way faster if you tell it not to compress.
PNGOUT /s4 infile.png outfile.png


____________________
涼宮ハルヒの憂鬱。 見て。
The Melancholy of Haruhi Suzumiya. Watch it.
Xkeeper

Level: 263


Posts: 5090/25353
EXP: 297181949
For next: 1778504

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 4 days
Last activity: 7 hours

Posted on 03-14-08 07:51:17 PM Link | Quote
The other (faster) conversion utilities. They still break.

____________________
Next newer thread | Next older thread
Jul - Computers and Technology - Batch PNG -> GIF conversion utility New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

30 database queries, 1 query cache hits.
Query execution time: 0.078362 seconds
Script execution time: 0.016205 seconds
Total render time: 0.094567 seconds