Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (57)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (11397)

  • Flutter PNG screenshots are not working properly with FFMPEG

    7 juin 2023, par segga

    I'm trying to convert screenshots I took in my flutter app programmatically to an .mp4 video, but the video is just black/blank. I'm using PNG to encode the images saved and the .PNG extension too.
This is the code base I'm currently using and I expected to be able to use these images with ffmpeg.
I also tried the ImageFormat.rawRgba or so but I don't think I used that properly

    


    import 'dart:io';
import 'package:flutter/rendering.dart';

void captureScreenshot() async {
  try {
    RenderRepaintBoundary boundary = globalKey.currentContext!.findRenderObject() as RenderRepaintBoundary;
    ui.Image image = await boundary.toImage(pixelRatio: 1.0);
    ByteData? byteData = await image.toByteData(format: ui.ImageByteFormat.png);
    Uint8List imageData = byteData!.buffer.asUint8List();

    // Save the image to a file
    File file = File('/path/to/screenshot.png');
    await file.writeAsBytes(imageData);
    print('Screenshot saved successfully!');
  } catch (e) {
    print('Error capturing screenshot: $e');
  }
}


    


  • Docs : Fix an unclosed code area in the API docs

    9 novembre 2016
    Docs : Fix an unclosed code area in the API docs
  • Increase eXtended BINary text palette dynamics.

    13 novembre 2011, par Carl Eugen Hoyos

    Increase eXtended BINary text palette dynamics.