aspose-slides / aspose.slides-for-.net Goto Github PK
View Code? Open in Web Editor NEWAspose.Slides for .NET examples, plugins and showcase projects
Home Page: https://products.aspose.com/slides/net
License: MIT License
Aspose.Slides for .NET examples, plugins and showcase projects
Home Page: https://products.aspose.com/slides/net
License: MIT License
There is a missing file that prevents the project to build.
Hi,
I would like to know if Aspose.Slides is supported in the following platform below. Thanks!
.NET Version - v8.0.0
Aspose.Slides.NET - v23.12.0
Alpine Image - v3.18
System.PlatformNotSupportedException: System.Drawing.Common is not supported on this platform.\n at System.Drawing.Image..ctor()\n at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)\n at \u0003\u001B\u0018\u0016\u0002.\u0002(Size \u0002, \u000E\u0002\u0019\u001A \u0008)\n at \u0003\u001B\u0018\u0016\u0002.\u0002(Size \u0002)\n at Aspose.Slides.Slide.GetThumbnail(Size imageSize)\n at \u000F\u0010\u000F\u0005.\u0003(\u0003\u000F\u001B\u001A \u0002, IPresentation \u0008)\n at \u000F\u0010\u000F\u0005.\u0002(Presentation \u0002, Stream \u0008, \u0002\u001A\u0018\u0016\u001A \u0005, IPptxOptions \u0006, InterruptionToken \u0003)\n at Aspose.Slides.Presentation.\u0002(Stream \u0002, \u0002\u001A\u0018\u0016\u001A \u0008, IPptxOptions \u0005)\n at Aspose.Slides.Presentation.Save(Stream stream, SaveFormat format, ISaveOptions options)\n at Aspose.Slides.Presentation.Save(Stream stream, SaveFormat format)
I have used your open API, and it's working really great. However, when I try to get the frames and convert them to a video using ffmpeg, the transitions applied in the PPT are not coming
const int FPS = 30;
using (Presentation presentation = new Presentation("D:\pptxpoc.pptx"))
{
presentation.Slides[0].SlideShowTransition.AdvanceAfterTime = 10000;
presentation.Slides[1].SlideShowTransition.AdvanceAfterTime = 10000;
presentation.Slides[2].SlideShowTransition.AdvanceAfterTime = 10000;
presentation.Slides[0].Shapes.AddAutoShape(ShapeType.Line, 50, 150, 300, 0);
presentation.Slides[0].SlideShowTransition.Type = TransitionType.Fade;
presentation.Slides[1].SlideShowTransition.Type = TransitionType.Fade;
presentation.Slides[2].SlideShowTransition.Type = TransitionType.Fade;
presentation.Save("D:\pptxpoc2.pptx", SaveFormat.Pptx);
using (Presentation transitionAppliedPpt = new Presentation(("D:\pptxpoc2.pptx")))
{
using (var animationsGenerator = new PresentationAnimationsGenerator(transitionAppliedPpt))
using (var player = new PresentationPlayer(animationsGenerator, FPS))
{
player.FrameTick += (sender, args) =>
{
//Console.WriteLine($"frame_{sender.FrameIndex}.png");
args.GetFrame().Save($"D:\PPT_Frames\frame_{sender.FrameIndex}.png");
};
animationsGenerator.Run(transitionAppliedPpt.Slides);
}
}
Hi, I just cloned the repository and got this error
The type or namespace name 'Cells' does not exist in the namespace 'Aspose' (are you missing an assembly reference?) CSharp e:\xxx\Aspose\Aspose.Slides-for-.NET\Examples\CSharp\Charts\SetChartDataFromWorkBook.cs 11 Active
Any suggestions ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.