Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Parzi88335y@shoop here's the kicker though: some stuff opens it, some doesn't. Firefox will open ones under 21 million tall, most editors won't until under 1 million (ImageMagick stops at 2 million so it's not even consistent), Chrome just doesn't ever try...
-
p100sch15005y@shoop maybe like this
@highlight
//firefox
ArrayLenth = (image.height < image.width ? image.height : image.width);
Pixels = new byte[ArrayLenth]();
//others
Pixels = new byte[image.height](); -
Parzi88335y@p100sch Apparently Chrome and Chromium won't render it but Edge will, despite being Chromium-based now... i don't think pseudocode's gonna explain that one xD
-
Parzi88335y@c3r38r170 that's a bot, mate. It's actually really useful. Make sure you find the thread to select the color scheme for when you use it...
For once, I broke something intentionally.
rant