18 USC § 700 is unenforceable.
There has been a Supreme Court precedent that lets you to do whatever the fuck you want with a US flag that you own. You can trample on it all day long, and it’s a protected activity under the first amendment.
Edit: https://en.m.wikipedia.org/wiki/United_States_v._Eichman
US: https://www.law.cornell.edu/uscode/text/18/700
If you do not know the specific history regarding why the proportions of some national flag are as they are, I would be very careful about altering those. Although probably not criminal in most places, showing an incorrect flag can still cause offense and draw disfavourable attention to the publisher who uses the incorrect flag.