Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (55)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (7982)

  • Cannot find yasm even though I have installed it

    20 juin 2016, par zhen lee

    I got a strange problem. I tried to install x264. When run sudo ./configure —enable-shared,
    it gave :

    Found no assembler
    Minimum version is yasm-0.7.0
    If you really want to compile without asm, configure with —disable-asm.

    But I already installed yasm-0.7.0 ,to prove that ,i run yasm —version,it gave :

    *yasm 0.7.0.2066
    Compiled on May 8 2012.
    Copyright (c) 2001-2008 Peter Johnson and other Yasm developers.
    Run yasm —license for licensing overview and summary.
    *

    I install yasm to /usr/local/yasm,
    Why can it not find yasm ?

  • Seam carving

    9 juin 2010, par Mikko Koppanen — Imagick, PHP stuff

    Today I was reading trough the ImageMagick ChangeLog and noticed an interesting entry. “Add support for liquid rescaling”. I rushed to check the MagickWand API docs and there it was : MagickLiquidRescaleImage ! After about ten minutes of hacking the Imagick support was done. Needless to say ; I was excited :)

    For those who don’t know what seam carving is check the demo here. More detailed information about the algorithm can be found here : “Seam Carving for Content-Aware Image Resizing” by Shai Avidan and Ariel Shamir

    To use this functionality you need to install at least ImageMagick 6.3.8-2 and liblqr. Remember to pass –with-lqr to ImageMagick configuration line. You can get liblqr here : http://liblqr.wikidot.com/. The Imagick side of the functionality should appear in the CVS today if everything goes as planned.

    Here is a really simple example just to illustrate the results of the operation. The parameters might be far from optimal (didn’t do much testing yet). The original dimensions of image are 500×375 and the resulting size is 500×200.

    Update : the functionality is pending until license issues are solved.

    1. < ?php
    2.  
    3. /* Create new object */
    4. $im = new Imagick( ’test.jpg’ ) ;
    5.  
    6. /* Scale down */
    7. $im->liquidRescaleImage( 500, 200, 3, 25 ) ;
    8.  
    9. /* Display */
    10. header( ’Content-Type : image/jpg’ ) ;
    11. echo $im ;
    12.  
    13.  ?>

    The original image by flickr/jennconspiracy

    result

    And the result :

    result

    Update. On kenrick’s request here is an image which is scaled down to 300×300

    result2

  • Cannot found yasm while i have installed it

    8 juin 2012, par user1201399

    I got a strange problem. I tried to install x264. When run sudo ./configure —enable-shared,
    it gave :

    Found no assembler
    Minimum version is yasm-0.7.0
    If you really want to compile without asm, configure with —disable-asm.

    But I already installed yasm-0.7.0 ,to prove that ,i run yasm —version,it gave :

    *yasm 0.7.0.2066
    Compiled on May 8 2012.
    Copyright (c) 2001-2008 Peter Johnson and other Yasm developers.
    Run yasm —license for licensing overview and summary.
    *

    I install yasm to /usr/local/yasm,
    Why can it not find yasm ?