| 1 | package XML::NewsML_G2::Graphics; | ||
| 2 | |||
| 3 | 19 | ▶ | use XML::NewsML_G2::Types; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 19 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 19 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 19 | ▶ | use XML::NewsML_G2::Picture; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 19 | extends 'XML::NewsML_G2::Picture'; | |
| 10 | |||
| 11 | 19 | __PACKAGE__->meta->make_immutable; | |
| 12 | |||
| 13 | 19 | 1; | |
| 14 | __END__ | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | XML::NewsML_G2::Graphics - a graphics specification | ||
| 19 | |||
| 20 | =head1 SYNOPSIS | ||
| 21 | |||
| 22 | my $pic = XML::NewsML_G2::Graphics->new | ||
| 23 | (rendition => 'highRes', | ||
| 24 | mimetype => 'application/illustrator', | ||
| 25 | size => 21123, | ||
| 26 | altId => '1031-14-Wetter', | ||
| 27 | ); | ||
| 28 | |||
| 29 | =head1 ATTRIBUTES | ||
| 30 | |||
| 31 | =over 4 | ||
| 32 | |||
| 33 | =item mimetype | ||
| 34 | |||
| 35 | The MIME type of the picture file (e.g. image/jpg) | ||
| 36 | |||
| 37 | =item size | ||
| 38 | |||
| 39 | The size in bytes of the picture file | ||
| 40 | |||
| 41 | = item width | ||
| 42 | |||
| 43 | The width in pixel of the picture | ||
| 44 | |||
| 45 | = item height | ||
| 46 | |||
| 47 | The height in pixel of the picture | ||
| 48 | |||
| 49 | = item orientation | ||
| 50 | |||
| 51 | The picture orientation (1 is 'upright') | ||
| 52 | |||
| 53 | = item colorspace | ||
| 54 | |||
| 55 | The colorspace used by this picture (e.g. AdobeRGB) | ||
| 56 | |||
| 57 | =back | ||
| 58 | |||
| 59 | =head1 AUTHOR | ||
| 60 | |||
| 61 | Mario Paumann C<< <mario.paumann@apa.at> >> | ||
| 62 | |||
| 63 | =head1 LICENCE AND COPYRIGHT | ||
| 64 | |||
| 65 | Copyright (c) 2014, APA-IT. All rights reserved. | ||
| 66 | |||
| 67 | See L<XML::NewsML_G2> for the license. | ||