python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Image compression with specific block size and max run length
I need to write two functions called compress(S) and decompress(S) that take a binary string S of length less than or equal to 64 as input and return another binary string as output. The output binar...
parth hirpara
Votes: 0
Answers: 0
"IndexError: string index out of range" RLE in python
if i input A3B4 program its run but i input A10B13 so program will error index out of range, so how to fix the code without library and use based the code.
Char = input ("Input Char : ")
Tot...
Petup
Votes: 0
Answers: 1
What kind of texture compression/encoding is this? Run-Length encoding? Is there a way for Uploading to Open Gl?
I've got some Textures from an old computer game. They are stored in one huge file with a simple run-length encoding. I know the image width, and height, the images have also some fully transperant pa...
Ferris Mertn
Votes: 0
Answers: 2
how can i convert a string to tuple
hello we have to create a code with turns for example "1T3e1s1t" into [(1,'T'),(3,'e'),(1,'s'),(1,'t')]
here is my code
unformat :: String -> [(Int, Char)]
unformat [] = []
unformat (x:x...
user17978223
Votes: 0
Answers: 2