1 /*=========================================================================
4 Module: $RCSfile: gdcmJPEGFragment.h,v $
6 Date: $Date: 2004/10/14 22:35:01 $
7 Version: $Revision: 1.3 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*/
20 #ifndef GDCMJPEGFRAGMENT_H
21 #define GDCMJPEGFRAGMENT_H
23 #include "gdcmCommon.h"
29 * \brief Utility class for summerizing the informations of a JPEG
30 * fragment of an "Encapsulated JPEG Compressed Image".
31 * This information is a mix of:
32 * - the fragment offset
33 * - the fragment length
35 * Each instance of this class (they can be as many instances for
36 * a given Document as they are JPEG fragments and they are
37 * collected in a \ref JPEGFragmentsInfo )
39 class GDCM_EXPORT JPEGFragment
41 friend class Document;
43 friend class PixelConvert;
52 } // end namespace gdcm
54 //-----------------------------------------------------------------------------