Giter VIP home page Giter VIP logo

Comments (5)

zdenop avatar zdenop commented on July 17, 2024 1

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.

DanBloomberg avatar DanBloomberg commented on July 17, 2024

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.

zdenop avatar zdenop commented on July 17, 2024

Without detailed description & code (step by step to reproduce problem) nobody can tell you why your process fails.

from leptonica.

lazulkia avatar lazulkia commented on July 17, 2024

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.

lazulkia avatar lazulkia commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.