atarionline.pl BMP to PIC or MIC - Forum Atarum

Jeśli chcesz wziąć udział w dyskusjach na forum - zaloguj się. Jeżeli nie masz loginu - poproś o członkostwo.

  • :
  • :

Vanilla 1.1.4 jest produktem Lussumo. Więcej informacji: Dokumentacja, Forum.

    • 1: CommentAuthorpoison
    • CommentTime7 Sep 2009
     
    Hi, I have litlle question:) I have 288 bmp And I need to convert them to mic or pic which are compatible with g2f utility. (batch conersion). Can someone help me, please? thx
    • 2:
       
      CommentAuthorKaz
    • CommentTime7 Sep 2009
     
    I can help.
    • 3: CommentAuthorpoison
    • CommentTime7 Sep 2009
     
    great:) what should I do?
    • 4:
       
      CommentAuthorDracon
    • CommentTime7 Sep 2009 zmieniony
     
    1. Limit colors to 256 or (better) 16 colors

    2. Resize them to fit Atari 8-bit resolution (320x200 or 160x200), as far as I know. :)

    3. Use your patience....
    • 5: CommentAuthorpoison
    • CommentTime7 Sep 2009
     
    i Have 288 bmps resized to 160*240 and decolorized to 4colours and I need to convert them to PIC or MIC for g2f utility, for batch conversion which is aviable in export as, file, save or open map (already done) and than there is a load screen and here i can choose onli pic or mic or gf2 graphics format for batch conversion to g2f. And I dont know how to convert my bmps to mic or pic:( I found converter to *.PICT, but it is not compatible (its mac gfx format) and rename pict to pic doesnt work to.
    • 6:
       
      CommentAuthorKaz
    • CommentTime7 Sep 2009
     
    You can use Graph2Font to open your BMP picture and save as MIC or G2F file... Is it solution you are looking for?
    • 7: CommentAuthorpoison
    • CommentTime7 Sep 2009
     
    i think it is possible when you have 10 pictures, but I have 288 pictures. Or can I make batch conversion in g2f bmp to pic ?
    • 8:
       
      CommentAuthorKaz
    • CommentTime7 Sep 2009
     
    That's why I offered you my hand :). I can get i.e. 50 BMPs and convert them manually to MIC.

    However, if you are looking for automatic conversion for large amount of BMP files I can't point you out the program. Ask Tebe, Irwin or Mono - I have impression that this problem was solved out by one of them.
    • 9: CommentAuthortebe
    • CommentTime7 Sep 2009
     
    przecież to wystarczy chwila aby napisać taki program do zamiany BMP na MIC, pod warunkiem że BMP-a jest 8bit z informacją o 4 kolorach
    • 10:
       
      CommentAuthorDracon
    • CommentTime7 Sep 2009
     
    Wbuduj to do G2F - dla opornych. :)
    • 11: CommentAuthorirwin
    • CommentTime7 Sep 2009 zmieniony
     
    Co jest chwilą dla Tebe to niekoniecznie musi być chwilą dla innych, np dla takiego herbatnika jak ja to by pewnie potrwało wieki ;)
    W sumie G2F od ostatnich wersji pozwala cytatowywouje:
    "dodana możliwość załadowania dużej ilości plików *.G2F, *.MIC lub *.PIC (Load screens)"

    Można się pokusić o dodanie i bmp do tej listy (oczywiście 4 kolorowych) i byłoby po zawodach ;)
    • 12: CommentAuthortebe
    • CommentTime7 Sep 2009
     
    programik do konwersji BMP (8bits Per Pixel) na MIC

    aby dokonać zamiany większej liczby plików należy stworzyć plik *.BAT z następującą treścią

    FOR %%z IN (*.bmp) DO bmp2mic %%z
    • 13: CommentAuthorirwin
    • CommentTime7 Sep 2009 zmieniony
     
    @Tebe dzięki!
    - zmieniłem poprzedni wpis gdyż znalazłem to co chciałem,;)
    • 14:
       
      CommentAuthorKaz
    • CommentTime7 Sep 2009
     
    Poison - does this program solve your problem? :)
    • 15: CommentAuthorpoison
    • CommentTime8 Sep 2009
     
    I think yes:) but is possible to write me exaple how to write *.bat?

    for exaple

    bmp2mic.exe 002.bmp 002.mic

    this is not work corectly:( its collapsed picture with peace of origial screen.
    • 16: CommentAuthortebe
    • CommentTime8 Sep 2009
     
    bmp is 160x??? or 320x??? ?

    bmp2mic support bmp's 320x192 (resized)
    • 17: CommentAuthorpoison
    • CommentTime8 Sep 2009
     
    bmp is 160x240 for 40bytes
    • 18: CommentAuthorpoison
    • CommentTime8 Sep 2009
     
    4 colours
    • 19: CommentAuthorpoison
    • CommentTime8 Sep 2009
     
    anyway is possible to convert directly *.bmp to *.g2f with optymizing without conversions bmp to mic or pic (in batch conversion)? this is what I need. On the atariage forum gived me an advice to convert bmp to mic or pic for batch conversion in g2f.
    • 20: CommentAuthorirwin
    • CommentTime8 Sep 2009 zmieniony
     
    @poison do it that way:
    01 convert all yours bmp to 4 colors but palette must be 8bit(256 color) Don't use 24bit or 4bit bmp.
    02 make test.bat file and copy line "FOR %%z IN (*.bmp) DO bmp2mic %%z"
    03 copy all bmps to bmp2mic and test.bat file directory
    04 run test.bat
    05 run g2f and choose "export as"
    06 file: new and choose empty directory for example maps2
    07 in width =1 height=288 (or more depends how many mic files you have)
    08 right mouse button on first frame
    09 choose "load screens"
    10 find yours mic files directory and on left bottom window right button and "add all"
    - IMPORTANT THING! - You must have on your hdd in directory: Users/Poision(name your windows login)/Documents/Graph2Font/Maps - if don't, create this "Maps" directory
    11 now click on "Load files on list". Graph2Font load every mic file to next frames and CREATE in Users/Poision(name your windows login)/Documents/Graph2Font/Maps g2f files!

    So it's works! and no need to bmp2g2f. Thanks Tebe! (about half year ago i request this feature too ;)

    And last thing: bmp2mic for now creates only 320x192 res. Maybe Tebe create new version with 240 output. For now use 320x192.
    • 21: CommentAuthortebe
    • CommentTime8 Sep 2009
     
    wersja 1.1

    możliwość konwersji plików BMP i PNG, zapisuje ekran o szerokości 32,40,48 bajtów, wysoki na 240 linii

    dodatkowo parametr '-r' jeśli konwertowany obrazek jest już poddany operacji resize, czyli dla parametru '-r' obrazek jest konwertowany co jeden piksel, a jeśli brak tego parametru (domyślnie) jest konwertowany co drugi piksel
    • 22: CommentAuthorpoison
    • CommentTime9 Sep 2009
     
    great great great!! thanx! But I dont know what I do bad, because all pictures converted to mic has head down and legs up (rotated 180). Iam using -r (my pictures are resized to 160*240).
    • 23: CommentAuthortebe
    • CommentTime9 Sep 2009
     
    :) Poison, why yours bitmaps are with rotation (flip vertical)

    test bmp2mic first, convert any 8bits pictures 320x240, without vertical flip and resize

    Windows Bitmap save data with Vertical Flip, and bmp2mic save data with vertical flip
    • 24:
       
      CommentAuthorDracon
    • CommentTime9 Sep 2009
     
    Poprosze wersje okienkowa tego konwertera albo "inkorporowanie" w G2F, tudziez w postaci wtyczki do ktorego popularnego viewera na PC.
    • 25: CommentAuthorpoison
    • CommentTime9 Sep 2009
     
    Thanks to all very much!! I converted all my pictures sucessfully!! thanks for help again:) so,now you can perpare for new great demo for 1mb only which is coded by fandal, music, design, idea and many others by me and gfx by PG may be (he didnt answer me:( )

    Poison
    • 26: CommentAuthortebe
    • CommentTime9 Sep 2009
     
    Dracon, a potrzymać Ci siusiaka jak sikasz, czy poradzisz sobie własnoręcznie :)

    wszystko musi być podane na tacy, jedna linijka więcej i palce bolą