Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 7 Aug 1998.
Re: Ascii-art resizer!

Re: Ascii-art resizer!

.----- On Wed, 05 Aug 1998 10:27:22 GMT, I posted:
|
|                                          :++;        
|                                           :+++:      
|                                           ++++;      
|             :+                           ++++;+      
|             ;+;                          +;++;+      
| ;           :++                          +++;+;      
|;+     :;;:  :++;                         ;++++       
|++:  :++++++;;+ +                         :++;        
|+++ :+;     +;: +              ::          ++         
|+;+++;      ;  ++          :::++++         ++:        
|+;  ;;      :+++;        +++++;  ;+       :+;:        
| ++;+:       :  ++:     :+   ;    ;+      ;;;:        
|;+;;+: ;:;  :++;;+;     ;+         ;+     +:+         
|+++++: +:+:  +;:;:      +;          +;   ;+ +         
| : :+:       ++:      :++       ;+: :++:++ ;;         
|   ;+;;;:::  +:++++++++:      ;++++  ++:: ;+          
| :++:     :::+; ;:   :;:      :+++++ :+;;++:          
| ;;           +:       :;      +++++::+;;:    ++      
| +; ::        :+    :;          ;+++ ++   :;:++++     
| +;:++: ;+;    +; ;++++          ;+  :+;  +++;  +++   
| +;:+++ +++;   ;; ;++++;  :;;;;       :+;;+      :+;  
| ;+ ++; ;++;   ;;  ;++++; +++++         ++; :++;  +;  
| ;+  :   ;+    +; ;+++++; +++++             +;;+: :+  
|  ++:         :+  ++++++; +++++:           :+  ;++++: 
|   +++;;:::;;++;  ++++++; :++++:           :+    :::  
|    :;++++++;::    +++++:  ++++            ++         
|         +:         ++++   :;:            ++          
|         +:         :;;:         ;:     :+;           
|         +:                     ;:;+;;;;+;            
|         ;+                    +:  ::+++              
|         ;+: :               :+     : ;+              
|         +;+;;:            :++     ;++;+              
|         +  ;++       ;   ++++;:  ++::;               
|        :+   ;+:     ;+ ;+++;:++; ++                  
|        +;  ;++;    ;++++; +;;++;+::                  
|       +;  ;+ :+   :+;     :++: ++                    
|       +  :+: :+   +;                                 
|      :+   +  +;  ++                                  
|      ;+ ;++  +:  ;+                                  
|     :+ :+:   +:  ;+                                  
|   ;++; +:    +; ;+:                                  
|   +;   +     +;;+:                                   
|  ;+ :  ;;   ++ +:                                    
|  ++;   +:  +;  +:                                    
|  :++:;++  ;+:  +;       =;= /:==; /:;=               
|   ;+++;   +;:  +:                                    
|           +;  ;+                                     
|           ;+++;:                                     
|             ::                                       
|
|I think the resolution I had my DOS window at when I took the screengrab
|affected the resize slightly, but you can make out the cow after resize ok so
|now all we need is a program that can do this! I might have a go, I`ve already
|made the first part of it (Put ascii art on screen as picture) in my ASC2PIC
|program.
|
'----------------------------------

OK, my first step was to make a program that did only one size... it halfs the
size. If people like it, I may be tempted to make a program that does any
percentages like stile's proggy does. It also only really works on solid style
asciis... then again stiles program made line-asciis look funny too (although
mine gives worse results on lineart)

Here`s what the program does:

I used the same example pic:
                          ooo$$$$$$$$$$$$oooo
                      oo$$$$$$$$$$$$$$$$$$$$$$$$o
                    oo$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o         o$   $$ o$
    o $ oo        o$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$o       $$ $$ $$o$
 oo $ $ "$      o$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$o       $$$o$$o$
 "$$$$$$o$     o$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$o    $$$$$$$$
   $$$$$$$    $$$$$$$$$$$      $$$$$$$$$$$      $$$$$$$$$$$$$$$$$$$$$$$
   $$$$$$$$$$$$$$$$$$$$$$$    $$$$$$$$$$$$$    $$$$$$$$$$$$$$  """$$$
    "$$$""""$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$
     $$$   o$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     "$$$o
    o$$"   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$       $$$o
    $$$    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$""$$$$$$ooooo$$$$o
   o$$$oooo$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$   o$$$$$$$$$$$$$$$$$
   $$$$$$$$"$$$$   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$     $$$$""""""""
  """"       $$$$    "$$$$$$$$$$$$$$$$$$$$$$$$$$$$"      o$$$
             "$$$o     """$$$$$$$$$$$$$$$$$$"$$"         $$$
               $$$o          "$$""$$$$$$""""           o$$$
                $$$$o                 oo             o$$$"
                 "$$$$o      o$$$$$$o"$$$$o        o$$$$
                   "$$$$$oo     ""$$$$o$$$$$o   o$$$$""
                      ""$$$$$oooo  "$$$o$$$$$$$$$"""
                         ""$$$$$$$oo $$$$$$$$$$
                                 """"$$$$$$$$$$$
                                     $$$$$$$$$$$$
                                      $$$$$$$$$$"
                                       "$$$""""

becomes:
           -:::::::::::::,.     . , .
 ..,..   -:::-,-::::::,,::::-   ---:-
 .:::, .:::::   :::::,  ,:::::,,::::
  -:=-=::::::-,-::::::,,::::::: .,:.
   :. :::::::::::::::::::::::::,  .:-
  -:..::--::::::::::::::::::.-:::==::-.
  --,,.:- ,=:::::::::::::=,  -:....
       .:-  ..,===::=-,,    .:.
        .=:.   .,,.--.    .:-
          .-==,.,.=::::,---.
             .,,,-,:::::.
                   -::::=
                    .,..

as you can see the results arn`t brilliant... however I think it would be better
if it used a better GIFscii style 'greyscale' than it does.

All it does is take the pic, do what ASC2PIC does, then resamples the output and
effectivly 'GIFsciis' it... however my algorithm is the one from the ASC2BMP
proggy mentioned in the MINIFAQ which as you can see by the demo doesn`t produce
brilliant results itself... this is the algorithm:
 .,-=:;/+%$XH@M#

It goes white>black from left to right. Can anyone help me with a better
algoritm? It needs 16 shades from white to black.

(if anyone wants the program for a demo, email me but bear in mind its still WiP
and there`s a few bugs like the output is always 100x100 chars regardless of
asciiart size.

Seeyas
Mart

|\/| _..__|_o._   /\_|_| o._  _   mart.atkins@--
|  |(_||  |_|| | /--\|_|<|| |_>            --bigfoot.com

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,4f3887953fc2ae64
X-Google-Attributes: gidf996b,public
From: zne...@ovtsbbg.pbz (Martin Atkins)
Subject: Re: Ascii-art resizer!
Date: 1998/08/07
Message-ID: <35c...@news.vossnet.net>
X-Deja-AN: 378866883
References: <Pine.LNX.3.96.980731014127.986A-100000@localhost> <35c...@news.virtek.com> <6pugea$j98$1...@news.Leiden.NL.net> <Pine.LNX.3.96.980801043028.310A-100000@localhost> <Pin...@onyx.southwind.net> <35c...@news.vossnet.net>
Organization: Cable Internet (post doesn't reflect views of Cable Internet)
Reply-To: zne...@ovtsbbg.pbz
Newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1998 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post