Browse our Products

Aspose.Slides for Java 25.6 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESNET-45008Implement AI presentation translator withing Aspose.SlidesFeature
SLIDESNET-44995AI web client improvementsEnhancement
SLIDESNET-44931Wrong chart legend entry is hiddenEnhancementhttps://docs.aspose.com/slides/net/create-chart/
SLIDESJAVA-39569Use Aspose.Slides for Net 25.6 featuresEnhancement
SLIDESJAVA-39652Wingdings font is used instead of Calibri when converting PPTX to HTMLBughttps://docs.aspose.com/slides/java/convert-powerpoint-to-html/
SLIDESJAVA-39651Wrong chart legend entry is hiddenBughttps://docs.aspose.com/slides/java/create-chart/
SLIDESJAVA-39674Actual major unit of a chart’s vertical axis returns 0Bughttps://docs.aspose.com/slides/java/chart-axis/#getting-the-max-values-on-the-vertical-axis-on-charts
SLIDESJAVA-39666Generating a slide ID greater than Integer.MAX_VALUE causes a corrupted PPTXBughttps://docs.aspose.com/slides/java/clone-slides/
SLIDESJAVA-39197PPTX file showing overlapping contentBughttps://docs.aspose.com/slides/java/convert-powerpoint-to-png/
SLIDESJAVA-39671High memory consumption when converting PPTX to PDFEnhancementhttps://docs.aspose.com/slides/java/convert-powerpoint-to-pdf/

Aspose.Slides Begins AI Integration

We are pleased to introduce a new development initiative in Aspose.Slides centered around artificial intelligence (AI). This marks the beginning of incorporating AI-powered features into the product, enabling smarter presentation creation, content analysis, and optimization. This direction opens the door to more intelligent and streamlined workflows, and we look forward to sharing more updates in future releases.

Public API Changes

Added New Class: SlidesAIAgent

The SlidesAIAgent class has been added. This class serves as the entry point for AI-powered features in the library.
Currently, SlidesAIAgent provides two methods: Translate and TranslateAsync, which allow you to translate presentations into various languages.

Added New Interface: IAIWebClient

The IAIWebClient interface has been introduced. This interface should be implemented by any class used as a constructor parameter for SlidesAIAgent.
It enables flexible integration with different AI models—simply implement this interface to switch the AI provider as needed.

Added New Class: OpenAIWebClient

The OpenAIWebClient class has been added as the built-in OpenAI client implementation for Aspose.Slides.
It implements the IAIWebClient interface and provides integration with the OpenAI API.

⚠️ Note: To use the OpenAI API, you need a valid API key and an active OpenAI account with billing enabled.
You must pass your OpenAI API key and preferred model (e.g., "gpt-4o-mini") as constructor parameters.

The following code sample demonstrates how to use the OpenAIWebClient class:

OpenAIWebClient aiWebClient = new OpenAIWebClient("gpt-4o-mini", apiKey, null);
try {
    SlidesAIAgent aiAgent = new SlidesAIAgent(aiWebClient);
    Presentation pres = new Presentation("test.pptx");
    try {
        aiAgent.translate(pres, "chinese");
        pres.save("test_translated.pptx", SaveFormat.Pptx);
    } finally {
        if (pres != null) pres.dispose();
    }
} finally {
    if (aiWebClient != null) aiWebClient.close();
}