🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.sources.patches
1 messages
1 total messages Started by Cristy Fri, 11 Sep 1992 18:40
ImageMagick 2.0 - Patch 1
#9
Author: Cristy
Date: Fri, 11 Sep 1992 18:40
31 lines
1372 bytes
Regarding the recent posting of ImageMagick 2.0 to alt.sources (also
available as contrib/ImageMagick.tar.Z on export.lcs.mit.edu):

The following patch to X.c causes ImageMagick, by default, to share
colors with other X clients.  Some JPEG images seem to require
dithering when displaying on a colormapped X server.  If an image of a
person appears with splotchy skin, use this command:

  display -dither *.jpg

or alternatively put this in your X resources file:

  display.dither: True

2418,2420c2418
<   if (*resource_value == 'P')
<     resource_info->colormap=PrivateColormap;
<   else
---
>   if (*resource_value == 'S')
2421a2420,2421
>   else
>     resource_info->colormap=PrivateColormap;
3826,3827c3826,3827
<         QuantizeImage(image,(unsigned int) visual_info->colormap_size,0,
<           resource_info->dither,False);
---
>         QuantizeImage(image,(unsigned int) visual_info->colormap_size,0,False,
>           False);
-- 
cristy@dupont.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads