Open sk3lk0 opened 4 years ago
can you add function for change number of pixels?
Seems like there is no problem to make that on some image formats. Here is the code example: https://github.com/chinarulezzz/pixload/blob/master/gif.pl#L64
It's a "good first issue" for the jpg.pl
and png.pl
improvement.
The problem appears when we want to specify the pixel size for the "polyglot" images (bmp/gif), where comment symbols /*
overwrite pixel information field. A know how to reduce pixel-size, but your proposition needs some research.
can you add function for change image size?
That's non-trivial because of "polyglot" images mentioned above, and payload length that affects image size.
I think that with the addition of pixel-size/payload control we can indirectly control image size. So far in the case of jpg/png. Polyglot images (as i mentioned above) needs some research.
thanks.
@sk3lk0 reopened the issue 'cause I can improve when will have time.
The pixel-size control currently is implemented in
can you add function for change number of pixels? can you add function for change image size?