Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gcode-importer opened this issue Jan 17, 2012 · 2 comments
Closed

Comments

@gcode-importer
Copy link

Originally reported on Google Code with ID 109

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

Reported by nicolas.guerineau64 on 2012-01-17 12:32:48

@gcode-importer
Copy link
Author

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

Reported by szukw000 on 2012-01-18 02:00:54

@gcode-importer
Copy link
Author

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

Reported by malaterre on 2012-05-29 13:18:12

  • Status changed: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants