#How would you approach reading jpg files and scaling them in zig?

1 messages · Page 1 of 1 (latest)

short narwhal
#

How do people process jpg files in zig right now? I know zbout zigimg but I need to do things like

  • detect the image camera rotation and fix the image rotation.
  • scale the image down if it is too large.

Would you link to a c library? Or is some combination of zigimg with some other libraries possible?

short narwhal
hoary compass
short narwhal
hoary compass
short narwhal
#

This saves hardware (or software) having to reverse or flip all the bytes if the camera is upside down.