All cases

Convert a PDF to JPG

The agent turned a two-page PDF scan of an application into JPG in half a minute, then joined both pages into one image for a website.

The agent worked
52 sec
It cost
$0.02
Steps
6
Files
3
Convert a PDF to JPG

Done! The PDF had two pages, so I saved them as two separate JPG files.

05:36

there's only one field, can both pages be one picture?

05:36

Done! Both pages are now in one JPG, one above the other.

05:37

Problembot

0:52 $0.02

The task

An application to a sports school, printed, signed and scanned with a phone into a PDF: two pages, the application and a consent to data processing. But the school's website takes only JPG images, and the PDF won't upload.

What the agent was told

The file and "make it a jpg, the website won't take pdf". Then: "there's only one field, can both pages be one picture?".

How the agent solved it

The agent checked how many pages the PDF has and split it into images on its computer, one JPG per page. When it turned out the website has a single file field, it stacked the pages one above the other in one image.

The result

Two pages as JPG, 1489 × 2105, about 240 KB each: the text is sharp, the signature is visible, nothing is cut off. Then one image with both pages, 420 KB, which almost any website will accept. The first answer came in 34 seconds, the second in 18. The whole dialog cost $0.03.

What did not work

  • The agent did not open the joined image before answering.
  • The agent did not ask about the website's limits (file size, format). It did no harm here: the files came out small.
  • There is no divider between the pages: the boundary shows only by the scan's gray background.

What it used

Its own computer in the cloud
The agent has a real Linux machine with Python, Node.js, Docker and a browser. It installs software, runs code and keeps your files between dialogs.
Files in, files out
Send the agent documents, spreadsheets, photos and videos. It hands finished files back right in the chat.