nu774 / jbigkit Goto Github PK
View Code? Open in Web Editor NEWautotoolized fork of http://www.cl.cam.ac.uk/~mgk25/jbigkit/
License: GNU General Public License v2.0
autotoolized fork of http://www.cl.cam.ac.uk/~mgk25/jbigkit/
License: GNU General Public License v2.0
Hi,
I am trying to implement resolution reduction on some binary images, same resolution reduction that is implemented in the JBIG.
I am getting stuck in its implementation and I hope that you can help me here.
In the JBIG docs they have said that JBIG uses resolution reduction table to perform the resolution reduction, however I am not able to make out how that table is being used.
In the implementation they have told that the value of a low resolution pixel depends upon 9 high and 3 low level pixels. the values of 0-7 high level pixels act as an index to the resolution reduction table. However I am not able to understand how to get value of low resolution pixel from that table. i.e., by raster scan I am able to get the value of 7 high level pixels and then how would I make out the low resolution pixel value.
I know it is very basic question but I was not able to find any documentation that would tell me how to use that table. All the documentations that I have come across have only told to use the table but never mentioned how.
Please do help me if you know how to use the table it will be greatly appreciated.
Thanks,
Sahil
Hello,
During our fuzz testing, we noticed a crash on libtiff
library. However, by detailed examination, we realized due to the bad exception handling in jbig.c
file in jbig library, the abort() is called which leads to the crashing of the whole process. Here is the line that we get crash for the whole process.
p = malloc(nmemb * size);
if (!p)
abort();
I believe it should be handled smoothly instead of killing the whole process without noticing the main (caller) applications. A malicious user can perform DoS attack on the applications that use jbig.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.