Comments (5)
First of all Github Action (GA) artifacts MUST NOT to be used for any other reason than analyzing GA!
Next you should use (any) library properly e.g. to see output messages. So you could see would see this: Error in pixReadStreamPng: function not present
.
Which leads to log: https://github.com/DanBloomberg/leptonica/actions/runs/8591084071/job/23539423610 where is clear that png was not compiled (=>linked to leptonica).
GA should be fixed now.
from leptonica.
I have no idea.
Please send a complete log of your build, as well as the output to stderr of your runtime failures.
from leptonica.
Without detailed description & code (step by step to reproduce problem) nobody can tell you why your process fails.
from leptonica.
Sorry, I'm a layman in programming, I just called it in a script and can't provide any more information.
If anyone wishes to reproduce it, they can test it with AutoHotkey-V2:
DllCall("SetDllDirectoryW", "Str", "C:\Users\Administrator\Downloads\leptonica-1.84.1-45-g96ad9217-VS2019_win64\bin")
DllCall("LoadLibraryW", "Str", "leptonica-1.84.1.dll", "Ptr")
MsgBox hPix := DllCall("leptonica-1.84.1.dll\pixRead", "astr", "D:\1.png" , "Ptr")
It should be added that the problem originally came from tesseract-ocr, which was using leptonica-1.84.1.dll which was unable to read the png.
I found the library, downloaded the latest dll, and found that it was still unreadable.
from leptonica.
Thank you. I didn't find the released version of leptonica.dll in this library, does that mean I have to compile it myself, which is very difficult for me.
from leptonica.
Related Issues (20)
- Leptonica 1.84 release schedule HOT 28
- How to detect the four corners of paper or ID card HOT 8
- 1.84.0 fails to build in FreeBSD 14.0 due missing reference to libm using CMake HOT 24
- CMake build in 1.84.0 adds include to non-existant path
- 1.84.1: compile time warnings HOT 3
- pixWriteJp2k: unexpected strong color artifacts on featureless image HOT 7
- pixOrientDetect with .bmp file HOT 6
- Logic error in pixcmapIsValid() HOT 5
- Regression: file not found on MacOS when opening /tmp file HOT 2
- Identifying and removing asterisks HOT 8
- pixDeskewGeneral(...) failing to detect a 45 degree skew? HOT 2
- Application crashing while disposing Pix.Create object HOT 5
- get minarea-rotated box of a skew area HOT 2
- Crash when access Pix colormap on debug HOT 6
- Installing leptonica on Windows failed with reason prompt 'SW' not found HOT 2
- Errors building Leptonica for use with Tesseract HOT 2
- getImpliedFileFormat / pixWriteImpliedFormat and PNM issues HOT 2
- pixOrientCorrect/pixOrientDetect issue with PBM HOT 4
- Cross-Compiling Leptonica for Windows on Arch Linux HOT 9
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 leptonica.