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
  RAW converter vs GIMP - what to do in which DevonTom 1 25 Today 08:28
Last Post: paynekj
  RAW converter vs GIMP - what to do in which DevonTom 1 17 Today 08:25
Last Post: paynekj
  Using gimp for Google street view tsurubaso 1 121 Apr 2, 2018 12:29
Last Post: paynekj
  GIMP keeps crashing at startup caracinous 1 141 Mar 13, 2018 04:02
Last Post: ythgilb
  gimp hdd strange sound siniseu 2 303 Mar 2, 2018 14:03
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS