I
I
Ivan Petrov2017-03-03 13:18:35
Python
Ivan Petrov, 2017-03-03 13:18:35

What to read about working with binary data?

Greetings.
Recommend materials for working or basics of working with binary data.
Familiar with php, js, python.
recently I needed to create site screenshots with scrolling, it turns out you need to combine all the images into one at the end.
Is it possible to do this by saving the image in a binary format, so at the end there will be one binary file that is converted to an image.
Will it work?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
sim3x, 2017-03-03
@sim3x

Depends a lot on where and how to create a screen
stackoverflow.com/questions/1197172/how-can-i-take...
stackoverflow.com/questions/16344700/take-a-screen...
stackoverflow.com/questions/ 30227466/combine-sever...

V
Vladimir Martyanov, 2017-03-03
@vilgeforce

For gluing pictures, you'd better use the same imagemagick, and not bother with the data format.

I
Ivan, 2017-03-03
@LiguidCool

Yomana...
In general, there are plugins for Chrome (or Fox...) that allow you to take a screenshot of the entire page at once...
If you really need it from the console, then yes - imagemagick.

M
mstdoc, 2017-03-03
@mstdoc

It is possible to take a screenshot of the entire page (including what is in the scrollable area) using phantomjs.
Or do you need it using scrolling?

D
developer007, 2017-03-03
@developer007

if you want to work with binary data in order to understand how everything works,
then start with C ++ pointers, data structures (how it is stored there in memory)
read the image and change it to C plus or already to php
, then it will come to encoding png, jpeg, etc.
is useful for erudition)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question