Creating a large visualization in HTML.
In Chrome (v. 18), the maximum canvas size is 32,768 pixels high. Is there a way to display a larger canvas?
Where is this limit coming from?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
32,768 = 215 and 215 – 1 = 32,767 is the biggest number a
short intcan hold.So Google Chrome probably uses the datatype
short intfor storing the sizes of a<canvas>element.If you want to display larger
<canvas>elements, you could try to use multiple ones.You should also consider another implementation technique if you really need ~33k pixels!