Program: gdcm
Module: $RCSfile: gdcmJpeg.cxx,v $
Language: C++
- Date: $Date: 2005/06/24 10:55:59 $
- Version: $Revision: 1.49 $
+ Date: $Date: 2005/10/18 19:06:30 $
+ Version: $Revision: 1.51 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
* @return 1 on success, 0 on error
*/
-bool gdcm_write_JPEG_file (std::ofstream *fp, void *im_buf,
+bool gdcm_write_JPEG_file (std::ostream *fp, void *im_buf,
int image_width, int image_height, int quality)
{
// exit(1);
//
// }
- jpeg_stdio_dest(&cinfo, fp);
+ assert( 0 );
+ (void)fp;
+ //jpeg_stdio_dest(&cinfo, fp, 0, 0, image_width, image_height, quality);
/* Step 3: set parameters for compression */