Post Reply 

Gimp picture to HTML Canvas?

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

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:

Inkscape(gimp related program, vector based, better for drawing?)
Import / Export to HTML5 <canvas> tag

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
  Blurry GIMP interface on macOS High Sierra 10.13.6 vagkavo 1 184 Aug 26, 2018 07:52
Last Post: paynekj
  Gimp wont keep merging when exporting Ergu 1 235 Aug 8, 2018 21:22
Last Post: paynekj
  Printers not showing in gimp chrismacor 1 252 May 24, 2018 06:03
Last Post: paynekj
  Gimp 2.8 wont't see my wcoom bamboo tablet NullPointer 1 350 May 22, 2018 12:53
Last Post: paynekj
  Gimp compatibility katie98 1 254 May 22, 2018 05:53
Last Post: paynekj

Forum Jump:

GIMP ForumPortalArchiveContactTermsRSS