Fastposter releases 1.4.2 Cross-language poster generator
Fastposter releases 1.4.2 Cross-language poster Generator, one-minute poster development
future:
- Perfect the Docker image
- Introduce asynchronous Asyncio
- Upgrade Python to 3.9.6
- Upgrade the Pillow version to 8.3.1
- Cluster Deployment Adaptation
- Pillow draws posters for performance optimization
- Add boot instructions
fixbug:
- Resolve PHP code generation issues
- Fix Docker image can’t run after packing
- Solve the problem that auxiliary lines are dashed lines
The warehouse address
Welcome to light up the little star ⭐️⭐ to speed up the iterative update of the project.
- Code Repository – Github
- Code Repository – Gitee
Java client code call preview
// Java generates posters
public static void main(String[] args) throws IOException {
// Create a poster client object
FastPosterClient client = new FastPosterClient("https://poster.prodapi.cn/"."ApfrIzxCoK1DwNZO"."EJCwlrnv6QZ0PCdvrWGi");
// Construct the poster parameters
HashMap<String, String> params = new HashMap<>();
// No dynamic parameters have been specified yet
params.put("nickname"."Swordsman");
/ / poster ID
String posterId = "25";
// Get the download address
String url = client.getUrl(posterId, params);
System.out.println("url=" + url);
// Save to the local directory
client.saveToPath(url, "temp.png");
}
Copy the code
Poster development can be completed in just three stepsStart the service
> Edit the poster
> The generated code
First, start the service
docker run --name fast-poster -p 9001:9001 tangweixin/fast-poster
Copy the code
Second, edit the poster
Third, generate code
Detailed Documentation
Gitee.com/psoho/fast-…