Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
23 May, 2013, 22:29:37 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2   Go Down
  Print  
Author Topic: Computer program to convert picture to calc grayscale? -  (Read 895 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
nxtboy III
LV8 Addict (Next: 1000)
********
Offline Offline

Last Login: Yesterday at 02:53:41
Date Registered: 30 March, 2011, 22:57:58
Posts: 784


Topic starter
Total Post Ratings: +23

View Profile WWW
« on: 20 February, 2012, 18:09:37 »
0

Hi,
I was wondering if there was a computer program to convert a 4-lvl grayscale picture to 3 monochrome pictures (like a png or bmp) using a grayscale routine like this:

light gray

100
010
001

Dark gray is the opposite.

EDIT:
For example, a program that would convert the first image I post to the other three:
Thanks,
nxtboy III


* title.png (1.55 KB, 96x64 - viewed 101 times.)

* 1.png (1.3 KB, 96x64 - viewed 98 times.)

* 2.png (1.28 KB, 96x64 - viewed 100 times.)

* 3.png (1.28 KB, 96x64 - viewed 101 times.)
« Last Edit: 20 February, 2012, 18:24:49 by nxtboy III » Logged

BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Total Post Ratings: +43

View Profile
« Reply #1 on: 20 February, 2012, 18:29:24 »
0

I might be able to throw one together in .NET, but the colors (i.e. their RGB values) would have to be exact. If they were even off by one byte it wouldn't separate them correctly. Picture format wouldn't really be a problem because .NET has support for BMP (which is its native), PNG, TIFF, JPG, GIF, and ICO.
Logged
BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Total Post Ratings: +43

View Profile
« Reply #2 on: 20 February, 2012, 18:31:14 »
0

Oh... Or you could use that... lol
Logged
nxtboy III
LV8 Addict (Next: 1000)
********
Offline Offline

Last Login: Yesterday at 02:53:41
Date Registered: 30 March, 2011, 22:57:58
Posts: 784


Topic starter
Total Post Ratings: +23

View Profile WWW
« Reply #3 on: 20 February, 2012, 18:35:49 »
0

Huh?
Use what? You said "Oh... Or you could use that... lol"

EDIT: So do you think you could make it?
« Last Edit: 20 February, 2012, 19:13:01 by nxtboy III » Logged

BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Total Post Ratings: +43

View Profile
« Reply #4 on: 20 February, 2012, 19:47:47 »
0

I thought SourceCoder would do that? And if I did it might not be till later tonight, I have a lot going on today.
Logged
nxtboy III
LV8 Addict (Next: 1000)
********
Offline Offline

Last Login: Yesterday at 02:53:41
Date Registered: 30 March, 2011, 22:57:58
Posts: 784


Topic starter
Total Post Ratings: +23

View Profile WWW
« Reply #5 on: 20 February, 2012, 20:06:49 »
0

What is sourcecoder?
Logged

BlakPilar
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 20 February, 2013, 02:38:22
Date Registered: 16 July, 2011, 02:50:55
Posts: 735


Total Post Ratings: +43

View Profile
« Reply #6 on: 20 February, 2012, 20:23:27 »
0

Oh, Deep Thought deleted his post. I guess it didn't do what he thought you wanted. Anyway, yeah I can try it but like I said, it'd be later tonight.
Logged
nxtboy III
LV8 Addict (Next: 1000)
********
Offline Offline

Last Login: Yesterday at 02:53:41
Date Registered: 30 March, 2011, 22:57:58
Posts: 784


Topic starter
Total Post Ratings: +23

View Profile WWW
« Reply #7 on: 20 February, 2012, 20:25:01 »
0

Ok. Thanks. Smiley
Logged

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #8 on: 20 February, 2012, 22:00:29 »
0

I don't know any computer program that dithers grayscale like your 3 last pictures, but I know there is one for the 83+ that does, assuming you got WabbitEmu and a 83+/84+ ROM handy.

http://www.omnimaga.org/index.php?action=downloads;sa=view;down=130

On your computer you take your grayscale pic then separate each "color" into 3 monochrome images, convert them to 8xi with TI-Connect or Image Studio. Then using that 83+ program you can interlace the grayscale between each pic. I think you end up with 3 or 4 pictures.

However I'm unsure if current versions of WabbitEmu still supports exporting files with F7.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
nxtboy III
LV8 Addict (Next: 1000)
********
Offline Offline

Last Login: Yesterday at 02:53:41
Date Registered: 30 March, 2011, 22:57:58
Posts: 784


Topic starter
Total Post Ratings: +23

View Profile WWW
« Reply #9 on: 20 February, 2012, 22:13:54 »
0

So there is no computer program to do it?
Logged

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #10 on: 20 February, 2012, 22:15:38 »
0

Nope, sorry Sad. At least not to convert in that grayscale format. It's because most ASM/Axe routines do the interlacing for you, so such program would be pretty much useless for calcs. The one for the calcs is for TI-BASIC/xLIB users, but very few people makes grayscale games using TI-BASIC and libraries since it takes a considerably higher amount of memory for the data. (3-4 pictures instead of 2)
« Last Edit: 20 February, 2012, 22:17:35 by DJ_O » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
nxtboy III
LV8 Addict (Next: 1000)
********
Offline Offline

Last Login: Yesterday at 02:53:41
Date Registered: 30 March, 2011, 22:57:58
Posts: 784


Topic starter
Total Post Ratings: +23

View Profile WWW
« Reply #11 on: 20 February, 2012, 22:18:30 »
0

Well I needed this for my NXT so it would be easier to convert them.
Logged

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #12 on: 20 February, 2012, 22:31:21 »
0

Actually lol I misread your original post. I thought you wanted a program to produce the scanlines shown in the 3 pics at the top for other sprite sheets or pics, not the opposite lol. My bad.

If you absolutely just want to separate the grays and blacks then you just need Photofiltre or another image software that supports "Replace color", then make 3 copies of the image, where:

-on one of them you get rid of black and dark gray (change them to white) then replace the light gray with black
-on the 2nd one you get rid of black and light gray then replace the dark gray with black
-on the 3rd one you get rid of both dark and light gray

Then you got each shades of gray separated.

Sorry for the misunderstanding lol X.x
« Last Edit: 20 February, 2012, 22:31:49 by DJ_O » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
nxtboy III
LV8 Addict (Next: 1000)
********
Offline Offline

Last Login: Yesterday at 02:53:41
Date Registered: 30 March, 2011, 22:57:58
Posts: 784


Topic starter
Total Post Ratings: +23

View Profile WWW
« Reply #13 on: 20 February, 2012, 22:34:24 »
0

Sad
Actually, you were right the first time and you did not misunderstand me.
So I guess there is no current way to do it...
Logged

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 18:03:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50227


Total Post Ratings: +2615

View Profile WWW
« Reply #14 on: 20 February, 2012, 22:40:31 »
0

Oh ok lol. ANd yeah to get images to look like in your first post the only way is using that calc program. Sad

Of course someone could make a computer one, but it wouldn't be very useful for many people because nobody seems to use grayscale in BASIC anymore.
« Last Edit: 20 February, 2012, 22:41:06 by DJ_O » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.37 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.