<?php
/**
+ * Handler for Microsoft's bitmap format
+ *
* @file
* @ingroup Media
*/
<?php
/**
+ * Generic handler for bitmap images
+ *
* @file
* @ingroup Media
*/
/**
+ * Generic handler for bitmap images
+ *
* @ingroup Media
*/
class BitmapHandler extends ImageHandler {
<?php
+/**
+ * Handler for bitmap images that will be resized by clients
+ *
+ * @file
+ * @ingroup Media
+ */
+/**
+ * Handler for bitmap images that will be resized by clients.
+ *
+ * This is not used by default but can be assigned to some image types
+ * using $wgMediaHandlers.
+ *
+ * @ingroup Media
+ */
class BitmapHandler_ClientOnly extends BitmapHandler {
function normaliseParams( $image, &$params ) {
return parent::normaliseParams( $image, $params );
<?php
/**
+ * Handler for DjVu images
+ *
* @file
* @ingroup Media
*/
/**
+ * Handler for DjVu images
+ *
* @ingroup Media
*/
class DjVuHandler extends ImageHandler {
<?php
/**
+ * Handler for GIF images.
+ *
* @file
* @ingroup Media
*/
<?php
/**
- * GIF frame counter.
- * Originally written in Perl by Steve Sanbeg.
- * Ported to PHP by Andrew Garrett
- * Deliberately not using MWExceptions to avoid external dependencies, encouraging
- * redistribution.
- */
+ * GIF frame counter.
+ *
+ * Originally written in Perl by Steve Sanbeg.
+ * Ported to PHP by Andrew Garrett
+ * Deliberately not using MWExceptions to avoid external dependencies, encouraging
+ * redistribution.
+ *
+ * @file
+ * @ingroup Media
+ */
+/**
+ * GIF frame counter.
+ *
+ * @ingroup Media
+ */
class GIFMetadataExtractor {
static $gif_frame_sep;
static $gif_extension_sep;
<?php
/**
* Media-handling base classes and generic functionality
+ *
* @file
* @ingroup Media
*/
<?php
/**
+ * Base class for the output of file transformation methods.
+ *
* @file
* @ingroup Media
*/
<?php
/**
+ * Handler for PNG images.
+ *
* @file
* @ingroup Media
*/
<?php
/**
- * PNG frame counter.
- * Slightly derived from GIFMetadataExtractor.php
- * Deliberately not using MWExceptions to avoid external dependencies, encouraging
- * redistribution.
- */
+ * PNG frame counter.
+ * Slightly derived from GIFMetadataExtractor.php
+ * Deliberately not using MWExceptions to avoid external dependencies, encouraging
+ * redistribution.
+ *
+ * @file
+ * @ingroup Media
+ */
+/**
+ * PNG frame counter.
+ *
+ * @ingroup Media
+ */
class PNGMetadataExtractor {
static $png_sig;
static $CRC_size;
<?php
/**
+ * Handler for SVG images.
+ *
* @file
* @ingroup Media
*/
/**
+ * Handler for SVG images.
+ *
* @ingroup Media
*/
class SvgHandler extends ImageHandler {
<?php
/**
+ * Handler for Tiff images.
+ *
* @file
* @ingroup Media
*/
/**
+ * Handler for Tiff images.
+ *
* @ingroup Media
*/
class TiffHandler extends BitmapHandler {