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

distortion #1

Closed
michaelaye opened this issue Feb 24, 2017 · 5 comments
Closed

distortion #1

michaelaye opened this issue Feb 24, 2017 · 5 comments

Comments

@michaelaye
Copy link

hi!
i'm trying out this amazing idea.

Using this URL:
http://hirise-pds.lpl.arizona.edu/PDS/EXTRAS/RDR/ESP/ORB_011400_011499/ESP_011491_0985/ESP_011491_0985_MIRB.abrowse.jpg

I'm getting quite a bit of distortion:

screenshot 2017-02-24 09 20 25

Do I maybe have to adapt something in my Terminal settings? I'm using iterm2 (v 3.0.14 on macOS 10.11.6), which is quite complex with a lot of settings and I'm not very firm on terminal technology, so I might well miss something, but I can say that the terminal emulation is set to:

  • Character Encoding: Unicode (UTF-8)
  • Report Terminal Type: xterm-256color

Maybe my funky zsh prompt is messing things up?

Thanks for any help!

@daleroberts
Copy link
Owner

This is what it looks like for me:

screen shot 2017-02-25 at 7 07 45 am

The quality is so-so because the image is so wide and there is text(?) in each corner of the image? You can try to zoom into a specific section using the -srcwin x y xwidth ywidth option.

You can also reduce the number of unicode characters used with -unicodes 2 (or any other number).

@daleroberts
Copy link
Owner

This is zooming in:

screen shot 2017-02-25 at 7 15 46 am

Those little thin lines are due to the font, for example, try Monaco to see the difference. Also try -unicodes 1 and -unicodes 2 to see how it changes the rendering.

@michaelaye
Copy link
Author

My font is 12 pt Monaco?

screenshot 2017-02-24 13 46 00

@daleroberts
Copy link
Owner

Changing font doesn't really "fix" the problem. It's due to the fact that you are approximating an image by text characters so it's never going to be perfect. If you want perfect and since you are using iTerm2, use my other tool: https://www.github.com/daleroberts/bv

@michaelaye
Copy link
Author

Wow, that one works big-ly! ;)

screenshot 2017-02-24 13 56 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants