Speichern Sie JSON als GIF

PHP Bibliothek zum Speichern von JSON als GIF

Verwenden Sie SaveAs API von Cells Cloud, um benutzerdefinierte Tabellenkalkulations-Workflows in PHP zu erstellen. Dies ist eine professionelle Lösung, um JSON als GIF und andere Dokumentformate online mit PHP zu speichern.

Speichern Sie eine JSON-Datei als GIF unter PHP

API
POST
https://api.aspose.cloud/v3.0/cells/{name}/SaveAs

Das Speichern von Dateiformaten von JSON als GIF ist eine komplexe Aufgabe. Alle Übergänge vom JSON- zum GIF-Format werden von unserem SDK PHP durchgeführt, wobei der strukturelle und logische Hauptinhalt der JSON-Quelltabelle erhalten bleibt. Unsere PHP-Bibliothek ist eine professionelle Lösung, um JSON als GIF-Dateien online zu speichern. Dieses Cloud SDK bietet PHP Entwicklern leistungsstarke Funktionalität und eine perfekte GIF-Ausgabe.

PHP Codebeispiel zum Speichern von JSON als GIF mit REST API

// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-php/
    $apiInstance = new CellsApi( getenv("ProductClientId"),getenv("ProductClientSecret") );
    $name ='Book1.json';
    $saveOptions =new \Aspose\Cells\Cloud\Model\SaveOptions();
    $saveOptions->SaveFormat = "gif";
    $newfilename = "Book1Saveas.gif";
    $isAutoFitRows= 'true';
    $isAutoFitColumns= 'true';
    $folder = "Temp";
    $result = $apiInstance->cellsSaveAsPostDocumentSaveAs($name, $saveOptions, $newfilename,$isAutoFitRows, $isAutoFitColumns, $folder);

So speichern Sie JSON als GIF mit der Cells Cloud PHP-Bibliothek.

  1. Registrieren Sie ein Konto unterArmaturenbrett um ein kostenloses API-Kontingent und Autorisierungsdetails zu erhalten
  2. Installieren Sie die Bibliothek PHP und fügen Sie die Referenz (importieren Sie die Bibliothek) zu Ihrem Projekt hinzu.
  3. Öffnen Sie die Quelldatei in PHP.
  4. Verwenden Sie die Methode `PostWorkbookSaveAs`, um den resultierenden Stream abzurufen.

System Anforderungen

  1. PHP 7.4 oder neuer