From 9caa8359618faa9d67584a2907942665a0d773db Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 5 Mar 2017 10:12:44 -0500 Subject: ... --- coders/Makefile.am | 8 ++++++++ coders/pgx.c | 6 +----- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'coders') diff --git a/coders/Makefile.am b/coders/Makefile.am index 313392867..907417a7c 100644 --- a/coders/Makefile.am +++ b/coders/Makefile.am @@ -156,6 +156,7 @@ MAGICKCORE_CODER_SRCS = \ coders/pdb.c \ coders/pdf.c \ coders/pes.c \ + coders/pgx.c \ coders/pict.c \ coders/pix.c \ coders/plasma.c \ @@ -284,6 +285,7 @@ coders_LTLIBRARIES = \ coders/pdb.la \ coders/pdf.la \ coders/pes.la \ + coders/pgx.la \ coders/pict.la \ coders/pix.la \ coders/plasma.la \ @@ -797,6 +799,12 @@ coders_pes_la_CPPFLAGS = $(MAGICK_CODER_CPPFLAGS) coders_pes_la_LDFLAGS = $(MODULECOMMONFLAGS) coders_pes_la_LIBADD = $(MAGICKCORE_LIBS) +# PGX coder module +coders_pgx_la_SOURCES = coders/pgx.c +coders_pgx_la_CPPFLAGS = $(MAGICK_CODER_CPPFLAGS) +coders_pgx_la_LDFLAGS = $(MODULECOMMONFLAGS) +coders_pgx_la_LIBADD = $(MAGICKCORE_LIBS) + # PICT coder module coders_pict_la_SOURCES = coders/pict.c coders_pict_la_CPPFLAGS = $(MAGICK_CODER_CPPFLAGS) diff --git a/coders/pgx.c b/coders/pgx.c index e014905ff..e03981f87 100644 --- a/coders/pgx.c +++ b/coders/pgx.c @@ -88,14 +88,10 @@ static MagickBooleanType % % A description of each parameter follows: % -% o status: Method IsPGX returns True if the image format type is PGX. -% -% o magick: This string is generally the first few bytes of an image file -% or blob. +% o magick: compare image format pattern against these bytes. % % o length: Specifies the length of the magick string. % -% */ static unsigned int IsPGX(const unsigned char *magick,const size_t length) { -- cgit v1.2.3