Z
Z
zelsky2016-05-12 19:05:32
Python
zelsky, 2016-05-12 19:05:32

Encoding base-62 what's the catch?

I found an interesting library that generates graphics in the form of svg/png images.
The question remained open how exactly to decode the strings that are in the examples in order to understand exactly how to encode in base-62 thanks. LINK

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2016-05-12
@Rsa97

So there is a completely understandable example, the Data Encoding section.
The entire range of values ​​[Ymin, Ymax] is mapped to the interval [0, 61], then for each value the character corresponding to the interval is taken

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question