/*
 * BEGIN FLOCK GPL
 * 
 * Copyright Flock Inc. 2005-2006
 * http://flock.com
 * 
 * This file may be used under the terms of of the
 * GNU General Public License Version 2 or later (the "GPL"),
 * http://www.gnu.org/licenses/gpl.html
 * 
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 * 
 * END FLOCK GPL
 */

#include "nsISupports.idl"

[scriptable, uuid(90b34dbf-3f7a-4636-b8d9-21962d7ff80d)]
interface flockIImageScaler: nsISupports
{
	boolean getDimensions (in ACString aInputFileName, out long aWidth, out long aHeight);
	boolean resize (in ACString aInputFileName, in ACString aOutputFileName, in long aWidth, in long aHeight);
	boolean rotate (in ACString aInputFileName, in ACString aOutputFileName, in long aDegrees);
	boolean doMagick ([array, size_is(aCount)] in string aParams, in PRUint32 aCount);
};
