troosh / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

Image_to_j2k says that j2k files is generated but no file is on the HDD #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using http://openjpeg.googlecode.com/svn/trunk/ so openjpegV1.5 revision 1324.
1) Have updated all #define with correct path to reflect file architecture
2) Add some declaration in proper .h file (cause declare in openjepg.h but 
defined in other .c file such as opj_image_t* OPJ_CALLCONV opj_image_create(int 
numcmpts, opj_image_cmptparm_t *cmptparms, OPJ_COLOR_SPACE clrspc); in image.c)
3) Have to comment OPJ_API before each function in .h file as it doesn't 
compile otherwise.
4) I also define opj_event_mgr_t* OPJ_CALLCONV opj_set_event_mgr(opj_common_ptr 
cinfo, opj_event_mgr_t *event_mgr, void *context); in event.h 
and add #include "../libopenjpeg/event.h" in convert.c (as the function is 
derecated in openjpeg.h and not defined in openjpeg.c).

Then source's files compile.

When executing image_to_j2k -i c:\test.bmp -o c:\test.j2k 
prog says that c:\test.j2k has been created but no file is on the drive.
I also tried with image_to_j2k -i c:\test.bmp -o test.j2k 
prog says again that file has been created but not in the HDD.

The exact prog output is:
[INFO] tile number 1/1
[INFO] - tile encoded in 1.917922s
Generated outfile c:\test.j2k

Process returned 0 (0x0) execution time : 2.050 s

Thanks for your help.
Nic

Original issue reported on code.google.com by nicolas....@gmail.com on 17 Jan 2012 at 12:32

GoogleCodeExporter commented 9 years ago
Nicolas,

it seems that no one can help you to solve this issue.

Issues 107 .. 109 show that you manually change files.
Thus it can not be reproduced what is going on.
The changes are your secret.

The usual way to compile (and install) OpenJPEG libs and
binaries is to either use the AUTOTOOLS or CMAKE.

As you use WINDOWS (32-bit? 64-bit?) you should use CMAKE.
In case you do not have it installed:

   http://www.cmake.org/

winfried

Original comment by szukw...@arcor.de on 18 Jan 2012 at 2:00

GoogleCodeExporter commented 9 years ago
Closing as invalid. It looks like this was an old issue with some weird bmp 
file (I would guess). Closing since no news.

Original comment by mathieu.malaterre on 29 May 2012 at 1:18