diff --git a/README.md b/README.md index cb65b2c..b32259c 100644 --- a/README.md +++ b/README.md @@ -74,9 +74,10 @@ parameters and explanations can be found [here](https://www.convertapi.com/conve ```java CompletableFuture result = ConvertApi.convert("pdf", "jpg", new Param("file", Paths.get("test.pdf")), - new Param("scaleimage", "true"), - new Param("scaleproportions", "true"), - new Param("imageheight", 300) + new Param("pagerange", "1"), + new Param("imagewidth", 300), + new Param("imageheight", 300), + new Param("fittosize", "true") ); ``` diff --git a/examples/src/main/java/com/convertapi/examples/SplitAndMergePdf.java b/examples/src/main/java/com/convertapi/examples/SplitAndMergePdf.java index 7da120c..7ce4061 100644 --- a/examples/src/main/java/com/convertapi/examples/SplitAndMergePdf.java +++ b/examples/src/main/java/com/convertapi/examples/SplitAndMergePdf.java @@ -15,7 +15,7 @@ /** * Example of extracting the first and the last page from PDF and then chaining merge conversion. - * https://www.convertapi.com/pdf-to-extract + * https://www.convertapi.com/pdf-to-split * https://www.convertapi.com/pdf-to-merge */ public class SplitAndMergePdf {