Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
f137f695
Commit
f137f695
authored
27 years ago
by
Henrik (Grubba) Grubbström
Browse files
Options
Downloads
Patches
Plain Diff
Added encodings/gif.h.
Rev: src/modules/Image/togif.c:1.26
parent
2304691c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/modules/Image/togif.c
+6
-4
6 additions, 4 deletions
src/modules/Image/togif.c
with
6 additions
and
4 deletions
src/modules/Image/togif.c
+
6
−
4
View file @
f137f695
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
togif
togif
$Id: togif.c,v 1.2
5
1997/11/
08 02:52:53
grubba Exp $
$Id: togif.c,v 1.2
6
1997/11/
11 03:46:08
grubba Exp $
old GIF API compat stuff
old GIF API compat stuff
...
@@ -11,7 +11,7 @@ old GIF API compat stuff
...
@@ -11,7 +11,7 @@ old GIF API compat stuff
/*
/*
**! module Image
**! module Image
**! note
**! note
**! $Id: togif.c,v 1.2
5
1997/11/
08 02:52:53
grubba Exp $
**! $Id: togif.c,v 1.2
6
1997/11/
11 03:46:08
grubba Exp $
**! class image
**! class image
*/
*/
...
@@ -35,6 +35,7 @@ old GIF API compat stuff
...
@@ -35,6 +35,7 @@ old GIF API compat stuff
#include
"image.h"
#include
"image.h"
#include
"colortable.h"
#include
"colortable.h"
#include
"encodings/gif.h"
#define THIS ((struct image *)(fp->current_storage))
#define THIS ((struct image *)(fp->current_storage))
#define THISOBJ (fp->current_object)
#define THISOBJ (fp->current_object)
...
@@ -187,7 +188,7 @@ static void img_gif_add(INT32 args,int fs,int lm,
...
@@ -187,7 +188,7 @@ static void img_gif_add(INT32 args,int fs,int lm,
}
}
if
(
fs
)
image_colortable_internal_floyd_steinberg
(
if
(
fs
)
image_colortable_internal_floyd_steinberg
(
get_storage
(
ncto
,
image_colortable_program
));
(
struct
neo_colortable
*
)
get_storage
(
ncto
,
image_colortable_program
));
pop_n_elems
(
args
);
pop_n_elems
(
args
);
...
@@ -203,7 +204,8 @@ static void img_gif_add(INT32 args,int fs,int lm,
...
@@ -203,7 +204,8 @@ static void img_gif_add(INT32 args,int fs,int lm,
{
{
unsigned
char
trd
;
unsigned
char
trd
;
image_colortable_index_8bit_image
(
get_storage
(
ncto
,
image_colortable_index_8bit_image
((
struct
neo_colortable
*
)
get_storage
(
ncto
,
image_colortable_program
),
image_colortable_program
),
transparent
,
&
trd
,
1
,
1
);
transparent
,
&
trd
,
1
,
1
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment