diff options
| author | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-10-10 06:17:28 +0000 |
|---|---|---|
| committer | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-10-10 06:17:28 +0000 |
| commit | ab0473aa42c3a069a0101f9dbbef1557635dca2b (patch) | |
| tree | 1691f3bc785c0fc254cc75a3b3a4fdfaa2ce4c47 /codec | |
| parent | 4b60f17bba1f1201738ca5f3c760f68ffd301bf2 (diff) | |
*Patch from Callum Lewick. Clean up of j2klib.h for the aligned malloc stuff.
*convert.c: Changed some error comments for TIFF images
Diffstat (limited to 'codec')
| -rw-r--r-- | codec/convert.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/codec/convert.c b/codec/convert.c index ff95001f..c120c249 100644 --- a/codec/convert.c +++ b/codec/convert.c @@ -1714,7 +1714,7 @@ int imagetotif(opj_image_t * image, const char *outfile) { break; } }else{ - fprintf(stderr,"Bits=%d, Only 8,12,16 bits implemented\n",image->comps[0].prec); + fprintf(stderr,"TIFF file creation. Bits=%d, Only 8,12,16 bits implemented\n",image->comps[0].prec); fprintf(stderr,"Aborting\n"); return 1; } @@ -1723,7 +1723,7 @@ int imagetotif(opj_image_t * image, const char *outfile) { _TIFFfree(buf); TIFFClose(tif); }else{ - fprintf(stderr,"False color format. Only RGB & Grayscale has been implemented\n"); + fprintf(stderr,"TIFF file creation. Bad color format. Only RGB & Grayscale has been implemented\n"); fprintf(stderr,"Aborting\n"); return 1; } @@ -1858,7 +1858,7 @@ opj_image_t* tiftoimage(const char *filename, opj_cparameters_t *parameters) } } else{ - fprintf(stderr,"Bits=%d, Only 8,12,16 bits implemented\n",Info.tiBps); + fprintf(stderr,"TIFF file creation. Bits=%d, Only 8,12,16 bits implemented\n",Info.tiBps); fprintf(stderr,"Aborting\n"); return NULL; } @@ -1936,7 +1936,7 @@ opj_image_t* tiftoimage(const char *filename, opj_cparameters_t *parameters) } } else{ - fprintf(stderr,"Bits=%d, Only 8,12,16 bits implemented\n",Info.tiBps); + fprintf(stderr,"TIFF file creation. Bits=%d, Only 8,12,16 bits implemented\n",Info.tiBps); fprintf(stderr,"Aborting\n"); return NULL; } @@ -1945,7 +1945,7 @@ opj_image_t* tiftoimage(const char *filename, opj_cparameters_t *parameters) _TIFFfree(buf); TIFFClose(tif); }else{ - fprintf(stderr,"False color format. Only RGB & Grayscale has been implemented\n"); + fprintf(stderr,"TIFF file creation. Bad color format. Only RGB & Grayscale has been implemented\n"); fprintf(stderr,"Aborting\n"); return NULL; } |
