Comments (10)
Could you propose a patch with your proposed fix ?
Reported by fodevaux on 2010-04-08 18:30:08
- Status changed:
Started
from openjpeg.
Hi,
I tried modifying the source-code to include those lines of code, but it failed.
Maybe it was where I put them, I'm not sure. Instead, I have re-written all the
print statements that I need to acertain a status of how the encoding is going. When
run in a console, it's exactly the same as before, just my app can now see what is
being output.
Reported by james2k2
on 2010-05-26 22:44:30
from openjpeg.
I tried image_to_j2k.exe with the current svn code, and the console (MSYS or windows
console, win xp) output is the same than linux:
torri@CARO-50BC2B3960 ~/svnroot/openjpeg/build/libopenjpeg/.libs
$ ../../codec/.libs/image_to_j2k.exe -i ~/ebuilder2.png -o ebuilder.j2k
[INFO] tile number 1 / 1
(there is a pause, then)
[INFO] - tile encoded in 1.145806 s
Generated outfile ebuilder.j2k
maybe the OP should verify again with at least openjpeg 1.4
Reported by vincent.torri
on 2011-03-04 22:59:08
from openjpeg.
Sorry it's been a while. I will give OpenJPEG 1.4 a go since I am now also rewriting
my app from scratch with VB.NET 2008.
A fresh start can always help.
Thanks for your input.
Reported by james2k2
on 2011-07-09 12:08:24
from openjpeg.
Hello again.
I have now tried v1.4 and still the same issue. I found the old forum posts I made
regarding this issue as I initially thought it was my app at fault. I have since rewrote
my app and the same applies. I fixed it by simply changing the fprintf statements in
the source for image_to_j2k to printf. Is this something you could do by default, or
will I need to modify each version myself?
Many thanks
Reported by james2k2
on 2011-07-11 11:40:01
from openjpeg.
one could maybe ad an fflush in the definition of the callbacks. But it adds overhead
and there can be problems if one use get() just after for example
Reported by vincent.torri
on 2011-07-28 06:05:11
from openjpeg.
Hi James,
Concerning the "fprintf(stdout, ...)", they are strictly equivalent to "printf(...)"
so renaming them should not change anything. Or am I wrong ?
Concerning the "fprintf(stderr, ...)", I'm not in favor of renaming them into "printf".
A better solution would be to redirect stderr to whatever you want, from your app.
Reported by detonin on 2011-08-09 10:44:08
from openjpeg.
Reported by malaterre on 2012-02-10 10:37:08
from openjpeg.
Reported by malaterre on 2014-02-26 09:03:49
- Labels added: Priority-Low
- Labels removed: Priority-Medium
from openjpeg.
no update in years, closing issue. Re-open if you can provide more input.
Reported by malaterre on 2014-02-26 14:07:24
- Status changed:
WontFix
from openjpeg.
Related Issues (20)
- OOM in opj_decompress HOT 1
- Could NOT find OpenJPEG HOT 1
- obj_compress issue with low quality and same colour image HOT 2
- Exist a undefined-behavior issue in file src/lib/openjp2/tcd.c:2327
- opj_compress -I / -mct 0 should conflict each others HOT 1
- Support for high throughput (HTJ2K) encoder HOT 3
- Hi Gunter,
- Potential double-free vulnerability in j2k.c HOT 1
- Trying to build for devKitPro Nintendo Switch gives an error on the compilation/build process
- SIGILL openjpeg-2.5.0/src/lib/openjp2/ht_dec.c:330 in mel_init HOT 1
- SIGILL openjpeg-2.5.0/src/lib/openjp2/dwt.c:385 in opj_idwt53_h_cas0() HOT 1
- openjpeg.org is down HOT 2
- Exist a undefined-behavior issue in file src/lib/openjp2/dwt.c:2124
- Browser plugin for Firefox? HOT 1
- Website broken HOT 6
- API breakage in 2.5.1 / openjpeg version no longer detected (openjpeg.h no longer includes opj_config.h) HOT 7
- Release v2.5.2 tag is outside of the repository HOT 2
- Encoding failure for 1-bit images with opj_compress
- opj_decode_tile_data takes a long time to decode a very small file
- unable to load .tif images
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openjpeg.