mvirtuoso21 / jpeg-image-compressor Goto Github PK
View Code? Open in Web Editor NEWA Python program that compresses raw images based on the JPEG compression algorithm.
License: GNU General Public License v3.0
A Python program that compresses raw images based on the JPEG compression algorithm.
License: GNU General Public License v3.0
Hi there,
I was using you code for a college assignment and I think I might have found bug.
On main.py line 116 and 122 you are using yq as a parameter for the zigzag function. Shouldn't it be crq and cbt?
Additionally, on main.py line 152 you are getting the values from crEncoded, but I think you probably want to get them rom cbEncoded.
Anyway, hope it helps and thanks for this script.
Thanks for the work! I have a question regarding the aggregation step of the zigzag scanned blocks. I'm not entirely sure, but for line 104, [line 115] (
Line 115 in d4b9817
main.py
file, shouldn't the indexing be i * vBlocksForY + j
and i * vBlocksForC + j
instead of i * j
? It seems that when you do i * j
, the result of many zigzag scanned blocks get added to the same index (let's say 0, because i * j
when looped gives many 0s). Could you please clarify this soon, thanks!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.