Post Reply 

Gimp picture to HTML Canvas?

Jan 29, 2014, 23:16
Post: #1
Gimp picture to HTML Canvas?
Hello,

I have been using Gimp with a drawing board for cartoon pictures.
Now, I like to create simple animation from the pictures that I made.
Is there any way Gimp can convert pictures (whatever format) into HTML canvas code?

Thank you.
Find all posts by this user
Quote this message in a reply
Jan 30, 2014, 04:46
Post: #2
RE: Gimp picture to HTML Canvas?
If by html canvas code you mean animated gifs. Then yes. Each layer is treated like a frame. When you go to Export, export it as "filename.gif" then in the export options check on "[]as animation"

If your canvas size is large it might amount to rather large file sizes.

However, if you mean the HTML5 Canvas, I haven't found anything about animation except something on stack overflow and inkskape
stackoverflow Bas64 png data to HTML5 canvas:
http://stackoverflow.com/questions/44094...ml5-canvas

Inkscape(gimp related program, vector based, better for drawing?)
Import / Export to HTML5 <canvas> tag
http://www.inkscapeforum.com/viewtopic.php?f=28&t=3421


You can try one image(.jpg or .png) first and let us know what error it throws up.

What formats does the canvas code support?
In Gimp:
-go to "File > Export"
- click "[+]Select File Type(By Extension)"

Then scroll through, the extensions are on the right side.

Report back with your findings as this may help others experiencing a similar issue.

"In order to succeed, your desire for success should be greater than fear of failure." BC
[Image: 29uocaf.png]
iFS007 tut vids on YT ~ auto color B&W landscape tut
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Printers not showing in gimp chrismacor 1 128 May 24, 2018 06:03
Last Post: paynekj
  Gimp 2.8 wont't see my wcoom bamboo tablet NullPointer 1 182 May 22, 2018 12:53
Last Post: paynekj
  Gimp compatibility katie98 1 126 May 22, 2018 05:53
Last Post: paynekj
  Using Adobe Typekit fonts within GIMP? Kevin M 10 1,616 May 21, 2018 16:07
Last Post: T.Mitarai
Information Canvas Rotation Problem Fefe 1 129 May 19, 2018 20:32
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS