MCPcopy Index your code
hub / github.com/dieforfree/qart4j

github.com/dieforfree/qart4j @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
200 symbols 370 edges 28 files 37 documented · 18%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

QArt4J

A QR code generator which gives ASCII Art output image.
A java version of QArt with enhancement.
All credit goes to Russ Cox.

Sample output:
Sample Output

How to generate a runnable jar

QArt4j is a maven project, run the following command to get a ruunable jar:

mvn compile assembly:single

This will generate a runnable jar under target/ directory.

How to run it

QArt4j can run with many parameters, java -jar qart4j.jar --help will show all the parameters. The parameters which give the sample output are:

java -jar qart4j.jar \
-i sample-input.png \
-o sample-output.png \
-u http://www.imdb.com/title/tt2267968/ \
-w 324 -h 480  \
--mr 72 --mb 164 \
-z 168 -v 16 -q 1\
--cw EFFFFFFF

Known issues

  1. JPEG not work yet.

Extension points exported contracts — how you extend this code

Encoding (Interface)
Created by free6om on 7/20/15. [6 implementers]
src/main/java/free6om/research/qart4j/Encoding.java

Core symbols most depended-on inside this repo

write
called by 20
src/main/java/free6om/research/qart4j/Bits.java
getPixel
called by 20
src/main/java/free6om/research/qart4j/Pixel.java
getVersion
called by 19
src/main/java/free6om/research/qart4j/Plan.java
getNumberOfDataBytes
called by 10
src/main/java/free6om/research/qart4j/Plan.java
getPixelRole
called by 10
src/main/java/free6om/research/qart4j/Pixel.java
getSize
called by 9
src/main/java/free6om/research/qart4j/Bits.java
getPixels
called by 9
src/main/java/free6om/research/qart4j/Plan.java
getBits
called by 8
src/main/java/free6om/research/qart4j/Bits.java

Shape

Method 168
Class 29
Enum 2
Interface 1

Languages

Java100%

Modules by API surface

src/main/java/free6om/research/qart4j/Image.java24 symbols
src/main/java/free6om/research/qart4j/Plan.java23 symbols
src/main/java/free6om/research/qart4j/PixelInfo.java20 symbols
src/main/java/free6om/research/qart4j/Pixel.java12 symbols
src/main/java/free6om/research/qart4j/Bits.java12 symbols
src/main/java/free6om/research/qart4j/Version.java11 symbols
src/main/java/free6om/research/qart4j/Request.java8 symbols
src/main/java/free6om/research/qart4j/BitBlock.java8 symbols
src/main/java/free6om/research/qart4j/Rectangle.java7 symbols
src/main/java/free6om/research/qart4j/Raw.java6 symbols
src/main/java/free6om/research/qart4j/QRCode.java6 symbols
src/main/java/free6om/research/qart4j/PixelOrder.java6 symbols

For agents

$ claude mcp add qart4j \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact