Skip to content

issues Search Results · repo:ghallak/jpeg-python language:Python

Filter by

11 results
 (48 ms)

11 results

inghallak/jpeg-python (press backspace or delete to remove)

I have a png image with 423300 bytes. After I ran python ./encoder.py input.png output.jpg The output.jpg file had 1565098 bytes.
  • t04dJ14n9
  • Opened 
    on Nov 21, 2023
  • #11

When I try to run this: python encoder.py -h ./image.bmp ./output.jpg it gives me this error: File encoder.py , line 60 os.path.dirname(filepath))) from e ^ SyntaxError: invalid syntax
  • sebbegnd
  • Opened 
    on Aug 25, 2023
  • #10

Great code for demonstrating the inner workings of JPEG using an easily interpreted language. Minor critique - you may wish to include DPCM in your encoding of the DC components. Given how you re already ...
  • mikeymezher
  • Opened 
    on Mar 27, 2023
  • #9

Hi @ghallak , could you add an open source license to your code? for example the MIT license? I would like to re-use the code, modify it and make it open. Thanks
  • bricaud
  • Opened 
    on Feb 21, 2023
  • #8

I tried python encoder.py test.bmp output.txt then get a 0-1 string content text document python decoder.py output.txt then windwos Photos App shows the 90 degrees rotated image. is this correct?
  • yhm138
  • 1
  • Opened 
    on Apr 21, 2022
  • #7

i want to know parser.add_argument( output , help= path to the output image ) , the output parameter‘s format is what? i set : input ./原始图像.bmp output ./yasuo.jpg it sent: usage: encoder.py [-h] input ...
  • 1999wen
  • 1
  • Opened 
    on Apr 11, 2022
  • #6

I have some problems with read_huffman_code function in decoder. When the chars end, the function endlessly adds to the prefix and the cycle does not end. Can you please explain me what the problem is? ...
  • DanylZozulya
  • Opened 
    on May 13, 2020
  • #5

how to adjust compression ratio?and why the decode image after encode will appear some white points, why? img width= 278 alt= image src= https://user-images.githubusercontent.com/15034804/65829225-893e8c80-e2d5-11e9-948f-a802ffb2f324.png ...
  • maliho0803
  • 4
  • Opened 
    on Sep 29, 2019
  • #4

I think u need to downsample your Cb abd Cr chanell after you convert the image Y CbCr
  • partizanos
  • Opened 
    on May 25, 2019
  • #3

Hi Gaith, I noticed in your jpeg repo that dct transformation code is not right, dct_matrix = fftpack.dct(block, norm= ortho ) since the fftpack.dct() function is only 1D DCT instead of 2D DCT as in JPEG ...
  • sibosutd
  • 1
  • Opened 
    on Apr 19, 2018
  • #2
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub