M
M
Michael Kim2017-02-24 23:47:43
Java
Michael Kim, 2017-02-24 23:47:43

How to display image horizontally without bitmap and matrix?

There is a byte[] from the image. How do I display an image horizontally without getting a bitmap from byte[] and then using matrix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nirvimel, 2017-02-24
@nirvimel

If the horizontal width is known, then in each line in the loop rearrange the pixels (how many bytes per pixel do you have?) In reverse order.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question