-
Notifications
You must be signed in to change notification settings - Fork 6
WSQ image dimensions #1
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
Comments
I have a solution for this somewhere. Let me dig it out in the next couple of days. |
Great! Thanks |
Looks like .wsq files have dimensions encoded in them: PIX_WIDTH 320 Maybe a simple extraction would be with regex? |
I have pushed the initial image header detection stuff in version 0.5.0 (4fd18c9). I still need to work on integrating this into |
I tried to search for the WSQ spec and did not find if PIX_WIDTH and HEIGHT are mandatory in WSQ files. There was a mention of a WSQ meta file... is there any specification that you are using? |
WSQ specification goes under the following name However |
Could you please share the width/height calculating code? |
The code is already here: https://github.com/ivosh/node-nist/blob/master/src/imageHeader.ts Unfortunately I did not have time to update tests, examples and README to use it. |
Hi,
Noticed this comment:
// :TODO: should be determined automatically from WSQ image
const getHorizontalScanningLine = (): string => '500';
// :TODO: should be determined automatically from WSQ image
const getVerticalScanningLine = (): string => '750';
What way would you recommend to implement this?
The text was updated successfully, but these errors were encountered: