-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
distorted image with chafa #76
Comments
I've only tested the chafa settings with iterm on Mac. Which terminal are you using?
- Brett
…On Nov 6, 2021, 3:51 PM -0500, Holger Hoefling ***@***.***>, wrote:
I tried to render the markdown file from
https://markdown-it.github.io/
and all the images are rendered distorted.
When rendering them with chafa directly, they look ok.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Default terminal on ubuntu Which TERM variable do you have? Mine is 'xterm-256color' but I also tried 'screen-256color' with no change. |
The chafa settings I hardcoded are likely wrong for non iTerm users. If
someone knows the appropriate settings for various OSs and terminals,
I'd be happy to take a PR that uses the system OS to determine the best
settings to use.
…-Brett
On 6 Nov 2021, at 16:34, Holger Hoefling wrote:
Default terminal on ubuntu
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#76 (comment)
|
which settings are you currently using? Am happy to play around a bit on Ubuntu. Where are those settings coded? Sorry I don't know much Ruby. |
Huh, I thought I had more specific arguments in there, but it looks like
it literally just runs `chafa IMG` on the temp image it creates. Could
probably refine that a bit, but again, I don't have a way to test on
systems other than the Mac I develop it on.
…-Brett
On 8 Nov 2021, at 10:32, Holger Hoefling wrote:
which settings are you currently using? Am happy to play around a bit
on Ubuntu. Where are those settings coded? Sorry I don't know much
Ruby.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#76 (comment)
|
This is the odd part ... I tried 'chafa IMG' on the original source image,
and that worked just fine. I think it should be something after the initial
processing? What are you doing to the image after?
On Tue, Nov 9, 2021 at 3:08 PM Brett Terpstra ***@***.***>
wrote:
… Huh, I thought I had more specific arguments in there, but it looks like
it literally just runs `chafa IMG` on the temp image it creates. Could
probably refine that a bit, but again, I don't have a way to test on
systems other than the Mac I develop it on.
-Brett
On 8 Nov 2021, at 10:32, Holger Hoefling wrote:
> which settings are you currently using? Am happy to play around a bit
> on Ubuntu. Where are those settings coded? Sorry I don't know much
> Ruby.
>
> --
> You are receiving this because you commented.
> Reply to this email directly or view it on GitHub:
> #76 (comment)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#76 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASGMYT5O2DJXTBC327ZG2LULETPPANCNFSM5HP7V7FQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Just inserting the result into the string. Maybe something like line wrapping affects it, but it seems to work fine for me.
-Brett
________________________________
From: Holger Hoefling ***@***.***>
Sent: Tuesday, November 9, 2021 8:30:44 AM
To: ttscoff/mdless ***@***.***>
Cc: Brett Terpstra ***@***.***>; Comment ***@***.***>
Subject: Re: [ttscoff/mdless] distorted image with chafa (Issue #76)
This is the odd part ... I tried 'chafa IMG' on the original source image,
and that worked just fine. I think it should be something after the initial
processing? What are you doing to the image after?
On Tue, Nov 9, 2021 at 3:08 PM Brett Terpstra ***@***.***>
wrote:
Huh, I thought I had more specific arguments in there, but it looks like
it literally just runs `chafa IMG` on the temp image it creates. Could
probably refine that a bit, but again, I don't have a way to test on
systems other than the Mac I develop it on.
-Brett
On 8 Nov 2021, at 10:32, Holger Hoefling wrote:
> which settings are you currently using? Am happy to play around a bit
> on Ubuntu. Where are those settings coded? Sorry I don't know much
> Ruby.
>
> --
> You are receiving this because you commented.
> Reply to this email directly or view it on GitHub:
> #76 (comment)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#76 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASGMYT5O2DJXTBC327ZG2LULETPPANCNFSM5HP7V7FQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#76 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAALVWNZX6BL53T2VF633FLULEWBJANCNFSM5HP7V7FQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to render the markdown file from
https://markdown-it.github.io/
and all the images are rendered distorted.
When rendering them with chafa directly, they look ok.
The text was updated successfully, but these errors were encountered: