public static boolean isSupportedOutputFormatType(String format, String type)
	{
		if (!isSupportedOutputFormat(format))
		{
			return false;
		}
		
		if (format == ThumbnailParameter.ORIGINAL_FORMAT
				&& type == ThumbnailParameter.DEFAULT_FORMAT_TYPE)
		{
			return true;
		}
		else if (format == ThumbnailParameter.ORIGINAL_FORMAT
				&& type != ThumbnailParameter.DEFAULT_FORMAT_TYPE)
		{
			return false;
		}
		else if (type == ThumbnailParameter.DEFAULT_FORMAT_TYPE)
		{
			return true;
		}
		
		for (String supportedType : getSupportedOutputFormatTypes(format))
		{
			if (supportedType.equals(type))
			{
				return true;
			}
		}
		
		return false;
	}