This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via 1969d4407b36047206e4e846594570086f4d5dde (commit) from 4e298cb7cb11a0e161a4522d4f5a8496baac8f3c (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/1969d4407b36047206e4e846594570086f4d5...
commit 1969d4407b36047206e4e846594570086f4d5dde Author: Cyril Hrubis metan@ucw.cz Date: Sun Jun 16 11:56:09 2013 +0200
loaders: Add forgotten PNM header.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/include/loaders/GP_PNM.h b/include/loaders/GP_PNM.h new file mode 100644 index 0000000..917a10d --- /dev/null +++ b/include/loaders/GP_PNM.h @@ -0,0 +1,82 @@ +/***************************************************************************** + * This file is part of gfxprim library. * + * * + * Gfxprim is free software; you can redistribute it and/or * + * modify it under the terms of the GNU Lesser General Public * + * License as published by the Free Software Foundation; either * + * version 2.1 of the License, or (at your option) any later version. * + * * + * Gfxprim is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * + * Lesser General Public License for more details. * + * * + * You should have received a copy of the GNU Lesser General Public * + * License along with gfxprim; if not, write to the Free Software * + * Foundation, Inc., 51 Franklin Street, Fifth Floor, * + * Boston, MA 02110-1301 USA * + * * + * Copyright (C) 2009-2013 Cyril Hrubis metan@ucw.cz * + * * + *****************************************************************************/ + +#ifndef LOADERS_GP_PNM_H +#define LOADERS_GP_PNM_H + +#include "core/GP_Context.h" +#include "core/GP_ProgressCallback.h" + +/* + * PBM Bitmap + */ +GP_Context *GP_LoadPBM(const char *src_path, GP_ProgressCallback *callback); + +int GP_SavePBM(const GP_Context *src, const char *dst_path, + GP_ProgressCallback *callback); + +/* + * PGM Graymap + */ +GP_Context *GP_LoadPGM(const char *src_path, + GP_ProgressCallback *callback); + +int GP_SavePGM(const GP_Context *src, const char *dst_path, + GP_ProgressCallback *callback); + +/* + * PPM Pixmap + */ +GP_Context *GP_LoadPPM(const char *src_path, GP_ProgressCallback *callback); + +int GP_SavePPM(GP_Context *src, const char *dst_path, + GP_ProgressCallback *callback); + +/* + * PNM Anymap (All of above) + */ +GP_Context *GP_LoadPNM(const char *src_path, GP_ProgressCallback *callback); + +int GP_SavePNM(const GP_Context *src, const char *dst_path, + GP_ProgressCallback *callback); + +/* + * ASCII or rawbits Bitmap. + */ +int GP_MatchPBM(const void *buf); + +/* + * ASCII or rawbits Graymap. + */ +int GP_MatchPGM(const void *buf); + +/* + * ASCII or rawbits Pixmap. + */ +int GP_MatchPPM(const void *buf); + +/* + * All of above. + */ +int GP_MatchPNM(const void *buf); + +#endif /* LOADERS_GP_PNM_H */
-----------------------------------------------------------------------
Summary of changes: include/loaders/{GP_JPG.h => GP_PNM.h} | 64 +++++++++++++++++++------------- 1 files changed, 38 insertions(+), 26 deletions(-) copy include/loaders/{GP_JPG.h => GP_PNM.h} (60%)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.