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
  Resize canvas and add picture behind yowananawa 1 102 Jan 7, 2019 09:40
Last Post: paynekj
Star Turning a picture into a painting lia123 0 144 Dec 23, 2018 22:02
Last Post: lia123
  GIMP on older pc elyman 1 167 Dec 10, 2018 17:17
Last Post: paynekj
  help with making a complex silhouette from picture springz 1 273 Dec 3, 2018 09:15
Last Post: paynekj
  Blurry GIMP interface on macOS High Sierra 10.13.6 vagkavo 1 338 Aug 26, 2018 07:52
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS