Jump to content




Sketch - Photoshop Inspired Image Editor for ComputerCraft


  • You cannot reply to this topic
61 replies to this topic

#41 AlkamlBan

  • Members
  • 64 posts
  • LocationGreece

Posted 16 December 2014 - 05:59 PM

You really should add the ability to add colored characters (slashes, comas etc.) because many people use them to create shapes that the pixels just can't produce.

#42 Exerro

  • Members
  • 801 posts

Posted 16 December 2014 - 06:04 PM

View PostAlkamlBan, on 16 December 2014 - 05:59 PM, said:

You really should add the ability to add colored characters (slashes, comas etc.) because many people use them to create shapes that the pixels just can't produce.
As far as I'm aware, you can using the text tool. Unless he has removed this in a newer version, you definitely can as I've done it before.

If you're talking about the beta, it's a beta, and he probably hasn't had time to implement it yet.

#43 AlkamlBan

  • Members
  • 64 posts
  • LocationGreece

Posted 16 December 2014 - 06:10 PM

View Postawsumben13, on 16 December 2014 - 06:04 PM, said:

View PostAlkamlBan, on 16 December 2014 - 05:59 PM, said:

You really should add the ability to add colored characters (slashes, comas etc.) because many people use them to create shapes that the pixels just can't produce.
As far as I'm aware, you can using the text tool. Unless he has removed this in a newer version, you definitely can as I've done it before.

If you're talking about the beta, it's a beta, and he probably hasn't had time to implement it yet.

Don't know I haven't really seen what it does but I just mentioned it cause I would really like such a feature

#44 Exerro

  • Members
  • 801 posts

Posted 16 December 2014 - 06:13 PM

Just checked...
Spoiler
It has text support, with colours too.

#45 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 16 December 2014 - 10:43 PM

Yea, it certainly has text support. I've done a few small updates and I've uploaded them, it's mainly bug fixes though. The earlier beta may not have had text support though, but this version definitely does.

#46 Admiraltallcactus

  • Members
  • 10 posts
  • LocationBehind you.

Posted 08 July 2015 - 03:05 AM

Can I print .skch with pantutils.drawImage()?

#47 Exerro

  • Members
  • 801 posts

Posted 08 July 2015 - 08:54 AM

No, it saves in its own format, but you can save to paintutils format I believe (although this strips out the text).

#48 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 08 July 2015 - 09:27 AM

View PostAdmiraltallcactus, on 08 July 2015 - 03:05 AM, said:

Can I print .skch with pantutils.drawImage()?
Yeah Ben hit the nail on the head really. Sketch just uses NFT for the most part, the rest is just a serialised table you can easily decode with textutils. Reading NFT isn't incredibly straight forward, but not impossible. You'd probably be best to either look and see if there's an Ask a Pro topic/tutorial or look through the code of Sketch (there's something in the Objects folder that does it) or the NPaintPro code.

#49 Admiraltallcactus

  • Members
  • 10 posts
  • LocationBehind you.

Posted 09 July 2015 - 04:18 AM

View Postoeed, on 08 July 2015 - 09:27 AM, said:

View PostAdmiraltallcactus, on 08 July 2015 - 03:05 AM, said:

Can I print .skch with pantutils.drawImage()?
Yeah Ben hit the nail on the head really. Sketch just uses NFT for the most part, the rest is just a serialised table you can easily decode with textutils. Reading NFT isn't incredibly straight forward, but not impossible. You'd probably be best to either look and see if there's an Ask a Pro topic/tutorial or look through the code of Sketch (there's something in the Objects folder that does it) or the NPaintPro code.
Thank you for the help oeed

#50 Thefdjurt

  • Members
  • 45 posts
  • LocationMy house

Posted 10 July 2015 - 05:18 PM

This is awesome, I have planned to download this a never had a need to edit images in CC until now and this made it a lot easier.
With that said I have found a bug :(.
I was attempting to resize a 19x51 image to 51x19 and I got

sketch:439: attempt to index ? (a nil value)

Recreating the bug:
  • Make an image (the format and background colour does not matter) of any proportions (as long as the height is larger than that of the width (e.g. 5x10))
  • Resize the image making the width any amount larger (e.g. 5->6) and the height any amount smaller (e.g. 10->9).
The error occurs in the layer draw function on the x=[new width] y=[new height]. I sorry if I am not too much of a help in this, I have yet to look a the code in an editor that isn't the CC editor.

#51 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 12 July 2015 - 09:26 AM

View PostThefdjurt, on 10 July 2015 - 05:18 PM, said:

This is awesome, I have planned to download this a never had a need to edit images in CC until now and this made it a lot easier.
With that said I have found a bug :(.
I was attempting to resize a 19x51 image to 51x19 and I got

sketch:439: attempt to index ? (a nil value)

Recreating the bug:
  • Make an image (the format and background colour does not matter) of any proportions (as long as the height is larger than that of the width (e.g. 5x10))
  • Resize the image making the width any amount larger (e.g. 5->6) and the height any amount smaller (e.g. 10->9).
The error occurs in the layer draw function on the x=[new width] y=[new height]. I sorry if I am not too much of a help in this, I have yet to look a the code in an editor that isn't the CC editor.

Hmm yeah sorry about that. You could try using Sketch 2 (I think you might need to download the files from the OneOS GitHub (just use download ZIP on the main page and copy it out) https://github.com/o...Sketch.program.

I'm working on Silica at the moment which will certainly have an image editor. Until then there's not a ton I can do sorry.

#52 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 13 July 2015 - 03:37 PM

Small bug, when you hide the interface and try using the brush on part of the canvas that would be behind a button, that button is pressed.

Damn this thing is amazing! Why isn't this in computercraft by default?

#53 Waitdev_

  • Members
  • 432 posts
  • LocationAdelaide

Posted 19 July 2015 - 11:36 AM

how does this only have 2 +1's? this is epic :D

btw i just beat someone in the top 20 posters today o.O

#54 ReBraLaCC

  • Members
  • 100 posts
  • LocationSublime Text 2

Posted 10 October 2015 - 12:16 PM

Is there a way to print the image on screen?

#55 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 11 October 2015 - 06:32 AM

View PostReBraLaCC, on 10 October 2015 - 12:16 PM, said:

Is there a way to print the image on screen?

What do you mean by print? So, not printing on paper I presume.

If you save it as NFP you can can open it in paint. Alternatively, install nPainPro and save it as an NFT file.

#56 jacob7ism

  • Members
  • 6 posts

Posted 31 October 2015 - 03:52 PM

another amazing 11/10 program by oeed :D

This paint program looks AMAZING! Will be using this a lot. And by a lot, I mean A LOT. :D

#57 jakejakey

  • Members
  • 98 posts

Posted 20 October 2016 - 12:09 PM

Love the program so much! All of your programs inspire me to try and cross my comfort zone (in coding)

Anyway I really love the program, and want to use it to make a background for my new OS.

Is there an API made by you or nitrofingers that I can use for this?

#58 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 20 October 2016 - 12:45 PM

More or less.

#59 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 20 October 2016 - 08:16 PM

You can also take a look at the formats' specifications here.

#60 WattDev

  • Members
  • 22 posts

Posted 08 April 2017 - 05:07 AM

Here are some of my questions:
How to load the image in .skch format?
Are there some api that can load the image crated using Sketch?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users