PNG support?
bingo12345 opened this issue · 4 comments
bingo12345 commented
i have no time to test png now. thanks for your work. i will be glad if you give short answer. PNG support?
andersbll commented
Yes.
bingo12345 commented
How about PNG transparent tile? is there problem with it?
andersbll commented
Just discard the alpha channel. This can be done from Python by replacing
def imread(path):
return scipy.misc.imread(path).astype(dp.float_)
with
def imread(path):
return scipy.misc.imread(path).astype(dp.float_)[..., :3]
bingo12345 commented
great response! have good time.