Closed peter279k closed 5 years ago
@odan, I also found that the SVG
image format is generated by XML document.
Perhaps the four bytes are always <svg
, and we don't have to use the while loop
.
This should be fixed now.
Good. I've looked at the new approach.
Thanks for your concern.
I found that it has the infinite loop for checking
SVG
.The infinite loop I think it's not proper and I suggest we should set the
SplFileObject::eof
for the condition.