2012-09-02 11 views

答えて

9

cacaviewと呼ばれるプログラムでこれを行うことができます。

これは対話型で、表示モードのパン、ズーム、および変更を可能にします。

Cacaview example

Full size image

3

が尋ねる前にGoogle-忍者を使用してみてください! 私はcacaviewaviewを見つけました。

+2

となりました。 – MiniScalope

1

より簡単には、img2txtをcacaライブラリから使用することができます(cacaviewは画像ブラウザで、新しいウィンドウが開きます。これは私が推測するものではありません)。例えば

$ /Users/foo/pool/libs/ipython/docs/resources/ipynb_icon_256x256.png img2txt

 .:.:.:.:.:.:.:.:.:.:.:[email protected]       
    . . . . . . . . . . . . ..:;@@t%;;X     
    . . . . . . . . . . . . . . .X8S%%8%.8   
    . . . . . . . . . . . . . . . ..8Xttt%S8.   
    . . .. . . . . . . . . . . . . .8;%88888S   
    . . . . . . . . . . . . . . . . ..8X. . .t  
    .tS%SSS X . :[email protected]:@. . . . . . . .. . . . t  
    . .%:S . [email protected];[email protected]@:; .X8%[email protected] . . [email protected] . .;  
    . . t;@ . . @SS. .S;8 @@. .:8. %%[email protected] 8X8t  
    . . %tX . . @S8 [email protected]@[email protected]: .X:;.tX..8.:[email protected]%tt  
    . . ttX. . .8tt;[email protected] .8: . @8X.X .%88... t  
    . . %tX . . @[email protected]::. . . 88 ...; X% . 88:.S8;t  
    . . ttX . . @X8 . . . .88 . :.;. .88S.%88t  
    .t88 ; 88. .8SS. . . ..88.%[email protected] 8. 8X88;. .;  
    . S%SStSS. .;S.. . . ..:%XX:;; . .;X%;... t  
    . . . . . . . . . . . @XX8;.. . . . . . t  
    . ;@XXX t. .. . .S88%. % %@. . . .. . . . t  
    . %[email protected] . . S888 . 888:. . . . . . . t  
    . S888888 ;. . . .. [email protected]:.: 88 . . . . . .;  
    . %888%888 . . S888.:8%88: X8%tS8t.. . .;  
    . S888.X888;. . .. @[email protected] :;[email protected] . t  
    . :8.X% 8888%.. [email protected]:8S8t88.%[email protected]%. .;  
    [email protected]:88t. ..% 88t ;[email protected];:.... 88888..t  
    . S888S : [email protected] .;88X..%:888. ..  888. t  
    . t8:XS. ..:888;[email protected]: 88 .. . .888X:.;  
    . X888; . . ;:[email protected]:88:[email protected] . . . %88:8.t  
    . %8 8S. .. 8888; @8S..:888 . . .8888 t  
    . %888;. .. 888SX;@8:.;8888 . . ..8S88:.;  
    . [email protected];. . :8:88888;.t8888S.. . :X8888: t  
    . %88 X . . ...:888888;.;88888:tXSS8888t.. t  
    . %[email protected] . . SX88X8: [email protected]%88. . t  
    . tt.. . . .. .::t:t .:.%S. X8%X8;: . . t  
    . . . . . . . .... . ..... ....: . . . t  
    %[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]  

$

MacOSXの上、あなたが自作を使用することができます:

$ brew reinstall libcaca --with-imlib2 

(異なるフォーマットから変換するためにimlibが使用されます)

+0

libcaca用のデフォルトの自作インストール(つまり、 '--with-imlib2'を渡さずに)ではファイルを開くことができないようです。 – bonh

0

もう1つの選択肢は、Ipythonノートブックを使用することです。

bashの場合:コマンドの前に強打を付ける必要があります。 画像の場合:ipythonのrich display systemを使用できます。

結果のスクリーンショット:このpost

screenshot of the result

完全な答え。

1

高品質の高速スタンドアロン変換ユーティリティ(256色の端末を使用する場合)は、で利用可能なpxlです。

免責事項:私は開発者と共通して何も持っていませんが、彼の仕事に感謝します。

関連する問題