Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to read .png files after downloading. How do I get older .jpg files? #1

Open
boring-pilot opened this issue Feb 18, 2018 · 11 comments
Assignees
Labels
github Issues that have to do with the repo and not the otoscope itself wontfix

Comments

@boring-pilot
Copy link

boring-pilot commented Feb 18, 2018

On a w7 system, I am unable to display the downloaded .png files. The error states the images are corrupt or too big. Is is possible to get the older .jpg files?

@tareko
Copy link
Member

tareko commented Feb 19, 2018

Hello @boring-pilot,

Thank you for your report. Could you please help us with the following information:

  1. Do the images work inside a browser? e.g., this direct link

  2. Do they work inside GIMP or some other image editing tool?

  3. If (1) and (2) are true, where is it failing and how? i.e., which image viewer.

  4. How are you downloading the images? Because they are on GITLFS, that may be causing problems too.

Here is the file type and size of the above file, print_guide-01.png:

$ file print_guide-01.png 
print_guide-01.png: PNG image data, 717 x 500, 8-bit/color RGBA, non-interlaced
$ ls -l print_guide-01.png 
-rw-rw-r-- 1 x x 56069 Feb 19 07:43 print_guide-01.png

Thank you for your help,

tarek : )

@boring-pilot
Copy link
Author

Tarek,

  1. The files look OK inside the browser in Github,
    2,3) None of the image viewers I had, including Libre Office Draw, could read the file, similar error mesages/
  2. I downloaded the whole thing as a .Zip file, unzipped on disk. and then tried to open individual .PNG files in the subfolders of media folder.
    LibreOfficeDraw just displays some text -- example from assembly-01.png ...
    version https://git-lfs.github.com/spec/v1
    oid sha256:e43f0b05b6061012cc26d39b6fa63287fe83f8b5725bf9e8711c0a956847330c
    size 1585302

@boring-pilot
Copy link
Author

boring-pilot commented Feb 19, 2018 via email

@tareko
Copy link
Member

tareko commented Feb 21, 2018

Hi @boring-pilot,

It appears that the problem is that you are getting stuck with Git LFS. Git does not keep the LARGE files, but instead puts them in the LFS (large file storage). When you download the zip, you are actually downloading the reference. I didn't realize that the ZIP option wasn't LFS aware, though it is reported in this bug and the issue appears unresolved.

How do you workaround this bug? By either using the web interface and downloading manually, or by using git to do a 'git clone' through the command line or Github's desktop application or any other Git client.

Is there any reason not to just look at the README's while online?

tarek : )

@tareko
Copy link
Member

tareko commented Feb 21, 2018

@boring-pilot: Regarding your second point about the Amazon links, I have opened and closed Issue #2 with some explanation. We welcome contributions as to other parts that appear to work, but our team will not pursue alternatives actively. Think of the links more as documenting what we used rather than being a definitive list of what others should use.

tarek : )

@tareko tareko self-assigned this Feb 21, 2018
@tareko tareko added the wontfix label Feb 21, 2018
@boring-pilot
Copy link
Author

boring-pilot commented Feb 21, 2018 via email

@tareko
Copy link
Member

tareko commented Feb 21, 2018

Amazing! Thank you for the report - I've been trying to figure out if LFS is right and this helps in making the decisions. Good luck with the PETG. I'm curious how it turns out. Please do post images!

tarek : )

@boring-pilot
Copy link
Author

Where should I post images? The wiki? Facebook? 3d printing done, waiting for parts.

@tareko
Copy link
Member

tareko commented Feb 23, 2018

Congrats! Maybe https://imgur.com is the best place to post pics like that publicly?

@Reveta
Copy link

Reveta commented Nov 29, 2022

2022 year. It`s still a problem :(

@mef51 mef51 added the github Issues that have to do with the repo and not the otoscope itself label Mar 16, 2023
@shababo
Copy link

shababo commented Jun 10, 2024

Hi, I had a similar problem trying to get image from a different repo - found this thread trying to solve it. Neither cloning nor downloading files provided more than the links. However, downloading the assets director of that repo using this web tool did work. Hope this helps anyone else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github Issues that have to do with the repo and not the otoscope itself wontfix
Projects
None yet
Development

No branches or pull requests

5 participants