Conversation
doctors office gave us some sonograms of my wife in a weird proprietary medical format, and everybody asked for money to read them so I asked AI to write me a python program to convert the files to PNG and it did it
2
2
15
@sun oh! what format is it? i think imagemagick can read and convert medical formats, i did that before hehehe
1
0
2
@cell DICOM, it can only do it if it's compiled in to use a delegate program of some kind.

the truth is, there was just a python lib that opens them
3
0
6
@sun yeah, imagemagick for my distro back then (arch) had DICOM support compiled in so it was a simple convert command..
1
0
5
@sun @cell Patent and styff keeping the pythib lib (technically) illegal?
0
0
1
@cell the file is only 800x600 lol why is this proprietary medical format so shitty
2
0
6
@sun LMAO
it was an x-ray for me, much larger resolution too
maybe they have higher bits per pixel or metadata and something of that sort that is required for compliance etc
0
0
4
@sun @cell Because engineers are taught in scholarship to apply proprietary copyright/patent to everything they make, same for doctors.
0
0
0
@sun @cell As of like 3 years ago the only program I could find with non-broken DICOM support was GIMP, so I ended up writing a very weird and cursed Guile script to batch-convert them to PNG

ImageMagic claimed to support it but it was completely broken
0
0
2