In this snippet, we’re changing the hex string "1A3F" to its decimal equivalent, 6719. The parseInt function can take two arguments: the string to parse along with the radix, which can be sixteen for hexadecimal. Definitely, it can be done to compress PDF file from MB to KB size. This https://directoryio.com/listings1101585/the-%EC%9D%B8%EA%B3%84%EB%8F%99-%EC%9C%A0%ED%9D%A5-diaries