:)
I have a flash module in a simple webpage.
In that flash module : some graphic elements are defined by the user.
When the user clic on "OK", it should export the animation in .avi format and upload that on a server.
Is it possible to create a AS script for that? (for an avi exportation)
thanks for answer :)
Related
I am a linux user, and I need to prepare a presentation that must be load on a Windows Computer with MS Office.
I work with LibreOffice and in the conversion everything goes fine creating a jpg image for every slide (I don't need special effects or editable texts). The problem occurs when I try to embed a video in my presentation, bacause PowerPoint can't load them. I tried with .avi and .mp4 videos and both .ppt and .odp presentation file formats.
Is there a way to prepare a presentation with embedded videos that works in both softwares?
thanks
Alessandro
Actually, I've found a solution... saving in .ppt format and keeping the video file in the same directory, because it seems that Microsoft's .ppt doesn't embed the video in the presentation's file, but it create only a link to the file's path...
My son made a presentation in Libre Office Impress under Linux. But in school they only have Microsoft PowerPoint under Windows. So he had to convert it to PowerPoint.
The conversion works quite well if you take care of a few obstacles:
Don't use embedded videos. Instead put them in the same directory as the Impress presentation and insert the video as a link. Then it works fine after conversion.
Because the videos are not embedded you should use more common video formats, like .mp4. For example one video in the format .webm works on my linux machine, but it doesn't work on a windows PC. Maybe because some codecs are not installed.
Linked Videos are starting in Libre Office Impress by themselves. After converting to PowerPoint they only start after clicking on them. You have to change this behavior after conversion inside PowerPoint manually (what is not so nice if you have many of them...)
Don't save the .odt file in the new PowerPoint format .pptx because then pictures are not scaled correctly. Instead save it in the old PowerPoint format .ppt
Even online converter like zamzar.com use the old .ppt format.
If you are still not satisfied with the result then you have the possibility to create a video of the Impress presentation instead of showing it with PowerPoint. This would be a realistic plan B with all effects ;-)
I want to draw/load pdf file which contain image, on the CStatic control in my VC++ project.
But, I don't know how to load pdf file on CStatic control.
I have searched a lot, but dint find any right direction.
In Mac, Its possible using specific function, but is there any way in Windows ?
Can you please suggest me any right direction...
Thanks in advance.
EDIT
I want to load image in PDF to CStatic, reason behind that I want to maintain image quality. Just load vector data of PDF image to on CStatic.
Please suggest ... !!!
There is no way to Show a PDF file inside a static control.
There are several ActiveX Controls that can show a PDF file. Also Adobe ships and AcroPdf ActiveX file that is free to use.
Here is a sample
If you just want to Show formatted data you can use an RTF-Control
I'm trying to create a flash image slider however I need the images to be pulled into the flash file from a directory and then to transition fade through to the next ones.
Has anyone got any ideas of where to start on this or any links that could help?
Much Appreciated.
Pull in images from a local or server directory? For a server directory you would use the Flash Loader class Loader
If you are using Adobe AIR then you can load local files using FileReference.
For fading, I use Tweenlite and tween the alpha value of the from image and the to image to make one fade out and the other fade in.
Flash can't read the content of the folder.
You either have to specify the file name(s) manualy either use a server-side script to create a list of the files in the folder - it may be passed to Flash as a XML, text file or just a query string, up to you.
Please take a look on the website http://quotes.rapidprototype.com.au/upload/ and upload STL File and press "Start Upload" button. You shall see the image of the object within the stl file as (.png) image. I want the same functionality(The image of the of the object within the stl file, rest of the work i can do). I want to get the image in .png or .jpr or .gif format as a 2D image. I want that the user can see the image of the object within the stl file that he/she uploads. I am using PHP.
Please assist me how can I achieve this using PHP. I shall be very thank full to you.
You could use ParaView www.paraview.org in the backend. This is free and reads stl as well as having the ability to save images. There is a python interface, so you can program it to do various things (starting by tracing your actions in the GUI). You can also give it options from the command line. ParaView has a web component, but it would probably be easier just to have PHP do a system call and look for the resulting image.
Test that it works on the command line before wrapping it in PHP
Here is my first time that I want to raise my issue here. As the title now I have a trouble with exporting a base64 image data to PNG, JPG, and PDF in GWT so I need your help from you. Let I give you an overview what I want to do:
Please have a look here: http://testingqr.appspot.com/ This is my app to generate a qrcode. After process of customization the Qrcode, I want to export the QR code in the canvas to png,jpg and pdf. To do that I will add 3 buttons are "Export to PDF" "Export to PNG" "Export to JPG" after press on each of these button, a Download Dialog will appear (Save as dialog) to let user choosing the location they want to save to and the extension of the file too (Such as C:\test.png)
I already use dataToURL function to get a base64. I used CanvasTo Image library from this link http://www.nihilogic.dk/labs/canvas2image/ But it will download the image from canvas with no Save as dialog and no extension in FF or chrome (IE does not support for HTML5 Canvas). So that I cant export PNG and JPG. This is my first problem.
The second problem is exporting PDF in GWT, I want to work with an open source library. I tried PDF Box http://pdfbox.apache.org/userguide/cookbook.html But now it just supports the JPG type. I want something that convert to PDF from base64. Do you have idea to help me do exporting to PDF process. What I want is after I press on "Export to PDF" button, a dialog will appear to let me save the QRcode in PDF file to my local location.
So thank you all for any help. Have a nice day.
Michael Vu