feat: add methods with documentation under imgpros.cpp