X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_imagemagick%2Ftrgt_imagemagick.cpp;h=0d0cdffd77baff70fa124ce4e6b0a316391119b6;hb=c3ad95144d148602f672e95ddda1f18fc35502f8;hp=54f7d3c77d7065d0e026beff13c56b721cda233c;hpb=28f28705612902c15cd0702cc891fba35bf2d2df;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_imagemagick/trgt_imagemagick.cpp b/synfig-core/trunk/src/modules/mod_imagemagick/trgt_imagemagick.cpp index 54f7d3c..0d0cdff 100644 --- a/synfig-core/trunk/src/modules/mod_imagemagick/trgt_imagemagick.cpp +++ b/synfig-core/trunk/src/modules/mod_imagemagick/trgt_imagemagick.cpp @@ -1,18 +1,22 @@ -/*! ======================================================================== -** Synfig -** ppm Target Module -** $Id: trgt_imagemagick.cpp,v 1.1.1.1 2005/01/04 01:23:11 darco Exp $ +/* === S Y N F I G ========================================================= */ +/*! \file trgt_imagemagick.cpp +** \brief ppm Target Module ** -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** \legal +** $Id$ ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. +** +** This package 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 +** General Public License for more details. +** \endlegal ** ** === N O T E S =========================================================== ** @@ -51,7 +55,7 @@ SYNFIG_TARGET_INIT(imagemagick_trgt); SYNFIG_TARGET_SET_NAME(imagemagick_trgt,"imagemagick"); SYNFIG_TARGET_SET_EXT(imagemagick_trgt,"miff"); SYNFIG_TARGET_SET_VERSION(imagemagick_trgt,"0.1"); -SYNFIG_TARGET_SET_CVS_ID(imagemagick_trgt,"$Id: trgt_imagemagick.cpp,v 1.1.1.1 2005/01/04 01:23:11 darco Exp $"); +SYNFIG_TARGET_SET_CVS_ID(imagemagick_trgt,"$Id$"); /* === M E T H O D S ======================================================= */ @@ -132,13 +136,13 @@ imagemagick_trgt::start_frame(synfig::ProgressCallback *cb) return false; } - //etl::yield(); + //etl::yield(); return true; } Color * -imagemagick_trgt::start_scanline(int scanline) +imagemagick_trgt::start_scanline(int /*scanline*/) { return color_buffer; } @@ -153,6 +157,6 @@ imagemagick_trgt::end_scanline(void) if(!fwrite(buffer,channels(pf),desc.get_w(),file)) return false; - + return true; }