Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Save Your Pictures in a Text File!
Index -> Programming, Turing -> Turing Submissions
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
copthesaint




PostPosted: Mon Feb 23, 2009 3:40 pm   Post subject: Save Your Pictures in a Text File!

This program will Save your picture as a text file.
If wondering why I'd ever want to use this well it will be
good if you want to unload your program from just 1 file!

Anyways Here it is.~



CreatePictures.t
 Description:

Download
 Filename:  CreatePictures.t
 Filesize:  2.5 KB
 Downloaded:  198 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Mon Feb 23, 2009 4:25 pm   Post subject: RE:Save Your Pictures in a Text File!

nice, have you implemented your extended color pallet? I didn't see it in the code, but was too lazy to look hard. Without it the pictures will look like crap. Another suggestion, instead of dir.create and whatnot, just have a variable called 'filepath' that the user can modify to his heart's content, which will also save you having to type the path 3 or 4 times.
saltpro15




PostPosted: Mon Feb 23, 2009 7:48 pm   Post subject: RE:Save Your Pictures in a Text File!

very cool, thanks!
copthesaint




PostPosted: Mon Feb 23, 2009 8:33 pm   Post subject: Re: Save Your Pictures in a Text File!

insectoid wrote:

nice, have you implemented your extended color pallet? I didn't see it in the code, but was too lazy to look hard. Without it the pictures will look like crap. Another suggestion, instead of dir.create and whatnot, just have a variable called 'filepath' that the user can modify to his heart's content, which will also save you having to type the path 3 or 4 times.


Unfortunately I can't Right now because I'm Using The View.WhatDot Command. So my color extension won't work with it.
tenniscrazy




PostPosted: Fri Feb 27, 2009 9:37 am   Post subject: RE:Save Your Pictures in a Text File!

makes the pictures look ghetto, you could use it for an effects to picture thing
copthesaint




PostPosted: Fri Feb 27, 2009 11:53 am   Post subject: RE:Save Your Pictures in a Text File!

It's not a really hrd to do effect. The picture made is the same as a 256 Bitmap. In windows vista paint I know There's a option to save as a 256 bit color. If you save the picture you want to copy to a text file as a 256 color bitmap picture then ou should have an exact duplicate.
Lekegolo killer




PostPosted: Mon Mar 02, 2009 11:44 am   Post subject: RE:Save Your Pictures in a Text File!

i havn't dl'd this but from what i am getting i can make a turing program and a background image for it one file with this? if so it would be awsome if you could impliment the changes ppl sugested, i know i would use it!

also i wonder if this is possible with music? i has no skillz so i wouldn't know.
StealthArcher




PostPosted: Mon Mar 02, 2009 12:27 pm   Post subject: RE:Save Your Pictures in a Text File!

http://compsci.ca/v3/viewtopic.php?t=16513

Did this sorta thing wayyyy back when. It implemented full 24-bit color as well, so give it a shot, feel free to use the code, as it's GPL.
Sponsor
Sponsor
Sponsor
sponsor
andrew.




PostPosted: Mon Mar 02, 2009 7:00 pm   Post subject: RE:Save Your Pictures in a Text File!

Wow StealthArcher, your old program is pretty good.
copthesaint




PostPosted: Mon Mar 02, 2009 8:21 pm   Post subject: RE:Save Your Pictures in a Text File!

Lol Good did you open his folders? He spent obviously A LOT of time on it I will say yours kills mine but I spent 30 min. on mine ;p so that's why...
well not really just 20
andrew.




PostPosted: Tue Mar 03, 2009 4:26 pm   Post subject: RE:Save Your Pictures in a Text File!

I actually made a program very similar to this, but instead it saves the image in Turing source format in a .t file. So you can open it in Turing and compile it and run it. It's good for embedding an image in a Turing program.
SNIPERDUDE




PostPosted: Tue Mar 03, 2009 10:15 pm   Post subject: RE:Save Your Pictures in a Text File!

I used a similar concept andrew for my custom GUI, I had an outside programme (made in VB, because it can read more than 256 colours) read an image and store it as a text (storing each RGB value for each pixel), then another to take the text file and create turing code for it. Saved alot of time, and allowed each bit of picture to be embedded (which was very important, because there were too many small images used it took up folder space and sometimes crashed the programme).
copthesaint




PostPosted: Wed Mar 04, 2009 12:42 am   Post subject: RE:Save Your Pictures in a Text File!

See I was making this originally with the Idea that I would Extract my program from 1 BIG program.
It would be pretty cool if a program made a turing program that would like a installer program,
SNIPERDUDE




PostPosted: Wed Mar 04, 2009 9:16 am   Post subject: RE:Save Your Pictures in a Text File!

I have a ditched programme that I didn't finish that does the same thing. It's a good concept though.
Tallguy




PostPosted: Wed Mar 04, 2009 12:19 pm   Post subject: RE:Save Your Pictures in a Text File!

i gotta say this is cool, but i don't see pratical application of it . . .
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 16 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: