audiowaveform icon indicating copy to clipboard operation
audiowaveform copied to clipboard

Any way to scale up width/height and also affect axis size?

Open ffxsam opened this issue 4 years ago • 1 comments

I'm trying to use larger width/height values in order for waveforms to look nicer on retina displays. The only issue is, the axis itself doesn't scale up with the waveform, so it becomes illegible. Is there any way to have the axis lines and numbers maintain their size no matter what the size of the output image?

wave

wave@2x

ffxsam avatar Oct 24 '19 22:10 ffxsam

Thanks for the feedback, this is a good suggestion. To implement, we'd need to move to FreeType text rendering, rather than using libgd's built in fonts as we currently do. See https://libgd.github.io/manuals/2.2.5/files/gdft-c.html for details.

chrisn avatar Oct 25 '19 10:10 chrisn