ArchWiki Gnome Tips! Convert svg icons to png?

Hey, I was reading this ArchWiki page,
http://wiki.archlinux.org/index.php/GNOME_Tips
and I came across this:
"Due to an improper coded GNOME drawing library, some actions in GNOME can slow the system. If the theme icons are in SVG format, they make the system slower. A very fast improvement is to either use icons in PNG format or to convert the used icons into the PNG format."
This is however all that is said there.
I would like to know a few things:
a) Is this comment only valid for older versions of Gnome, or is it still valid? [I am running the fully upgraded Gnome as is available in the repositories.]
b) Are we talking about substantial performance increase here or is just tweaking for the heck of it? [Even though I love that a lot myself, but this is for information. ]
c) I have no idea, how to convert svg icon libraries to png. So if we decide that it is indeed beneficial to be doing this, it would be great if someone could redirect me to how to change these svg icons to the png format.
Thanks a lot for the help [apprehended! ]

hey I just thought of another question, because I converted my svg icons to png using lolilolicon's method!
d) how to i tell gnome to use those icons instead of the svg icons. where and what settings do i have to change for this to be possible?
Last edited by akhilbehl (2010-03-16 02:17:50)

Similar Messages

  • Converting SVG's to PNG's

    Hi
    So I'm trying to convert all these SVG's to PNG's via ImageMagick. If I'm not wrong, the command is 'convert -define /path/to/icon.svg /path/to/icon.png'. Well that takes a long time with all those icons in yasis, so I thought that a script would help, but I don't know how it should look?
    But at least something like this:
    #!/bin/sh
    for i in *;
    do
    convert -define ./scalable/apps/$i ./48x48/apps/$i;
    done
    That's just bring us the problem that the SVG's aren't converted to PNG's, so how do I do it?

    skottish wrote:We simply didn't hard code a solution to one single instance; instead the code is generic enough to be easily transportable.
    Hardcoded and transportable my ass!  In its current state it doesn't do what was requested: specifically output to a different dir
    _If_ the vars you went on to suggest had been included then I'd heartily agree...but they weren't.  So there 

  • SVG Icons Not Displaying

    Can anyone tell me how to go about getting SVG icons to display?  I'm not having any problems with PNG problems.

    crisnoh wrote:Can anyone tell me how to go about getting SVG icons to display?  I'm not having any problems with PNG problems.
    Display in what? Or where?

  • Converting Windows Icons, how?

    Hey there...
    Does anyone know how to change windows icons to os x? I use a white PSP on my Mac and have finally managed to find a white psp icon to match the only thing is that it's in png format and I can't do the usual copy and paste from Get Info. Does anyone know how to convert these icons? Or does anyone know where I can get a white psp icon for the Mac? Thanks!

    Hi, Tymon.
    Graphic Converter can convert Windows ICO/ICN formats and PNG files to Apple Apple icon formats. Use the File > Convert & Modify option, select Convert in the Function pop-up menu, navigate to and select the files you want to convert in the left pane, select where they're to be saved in the right pane, select the desired Apple icon format in the Dest. Format pop-up menu, and you should be good-to-go.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Nautilus + SVG icon theme = slow downs?!

    Hi, ive installed the Snowish icon theme which i found pretty nice. I went for the SVG version instead PNG but later on day i experienced pretty heavy slowdowns when starting nautilus or when the file selecting dialog appeared. veeeery choppy behaviour :?
    selecting tango then as my icon theme let those problems disappear so this has to be a problem there. but starting nautilus from terminal gives no output at all, maybe those icons itself are the problem not nautilus? whats goin on here

    detto wrote:Hi, ive installed the Snowish icon theme which i found pretty nice. I went for the SVG version instead PNG but later on day i experienced pretty heavy slowdowns when starting nautilus or when the file selecting dialog appeared. veeeery choppy behaviour :?
    selecting tango then as my icon theme let those problems disappear so this has to be a problem there. but starting nautilus from terminal gives no output at all, maybe those icons itself are the problem not nautilus? whats goin on here
    The SVG slow-down problem begins with gtk 2.10. The file chooser is seriously affected too. No fix I think, just use png icons.

  • Trouble converting powerpoint files with png images to pdf-Can someone help?

    Hello all,
    In my line of work, I create and modify large sized posters that are created in powerpoint. I would have the files print ready by converting them to pdf. I usually have little to no issues executing this. However, I have been dealing with an issue of converting ppt files with png images. The size of the ppt is typically a 42x56 file. The several ways to convert to pdf produces an error each time. Png images are very useful as they provide much clarity vs jpegs or tiffs. The 3 ways I have tried below are:
    A) File>Print>Adobe PDF>High Quality print settings/300dpi results to an error message that says:
         "Windows cannot print due to a problem with the current print setup. Try one of the following:
         *Check the printer by printing a test page from Windows.
         *Make sure the printer is turned on and online.
         *Reinstall the printer driver"
         A blank pdf opens up (Selected to open file after publishing)
    B) File>Save as> Change file type as a pdf results in nothing happening. No pdf is produced.
    C) Acrobat>Create PDF results to an error message that says: "An unexpected error occured. PDFMaker was unable to produce the Adobe PDF."
    Again, this all happens with ppt files with png images. I took out the png images and attempted to convert to pdf, and the pdf is produced! 
    Can anyone provide any assistance in creating pdfs with png images or what settings I need to adjust? I am able to covert every other image type (jpeg, tiff, bmp), except for png images.
    I am using Microsoft Office 2010 with Adobe Acrobat X on Windows 7 (This happened on Windows XP as well).

    >I have a 48 slide presentation that has a small .png image in the "slide
    >master" so it will show up on every page.
    PowerPoint only has to store one instance of the image even thought it is
    displayed on multiple slides. But Acrobat can't do the same, the image has
    to be stored for every page that it appears on, so that would explain the
    larger file size.
    Acrobat is supposed to be able to optimize the storage of common background
    images (at least that's the message I see when I do a "Save as..."), but I
    have yet to see it to work. Maybe it depends on the application the orginal
    file is created in and the PDF conversion method used.
    Adding the image into a PDF file later as a watermark instead may be a way
    to keep the size down (then it really only does store the object once),
    though I believe that watermark images will appear in front of everything
    else on the page (not sure if that's a problem for you, it depends on
    whether any text or objects in the presentation ever appear in front of the
    image).
    What are the dimensions and resolution of the image in PowerPoint? You may
    be able to go as low as 75 dpi and not notice a difference, it depends on
    whether the image contains any areas of high contrast or text.

  • Converting svg to pdf,eps

    Hello,
    How i can programatically convert SVG file to PDF and EPS using Illustrator SDK or  Illustrator Scripting API(if it's not same)? it would be great to do it in php script

    The Illustrator SDK is a C++ SDK for writing plugins, so I don't think that will be helpful to you. The Scripting API is a javascript-like approach that still requires you to run Illustrator. If you're trying to do this via a webpage -- since you mentioned PHP -- I'm not sure that's doable. Or at the very least, it'll be tricky. You might be better off finding another utility somewhere to do SVG -> PDF/EPS, assuming there are such.

  • Convert PSD files into PNG on exporting PDF

    Is there a way to convert all PSDs used in InDesign into PNGs during exporting file as PDF?

    After exporting the PDF I convert that into online format. But there is an issue with the images that has been added as PSD, all such images lose their colors after conversion. So I need to convert this images into PNG before exporting the PDF.
    I hope this is clear. Do you know a way to do this?

  • Convert SVG to BMP

    Greetings,
    Generous helper can you please help me to convert the SVG file to BMP/JPEG format.
    I am using C# as of now , wondering how much feasible to convert SVG to bmp .
    Is it possible to do so.
    Thanks,

    Nikkiee,
    Options depend of version.
    You should be able to open the file in Illy and then export to BMP or JPEG, using Crop Marks (up to 10) or Crop Area (up to CS3) or the Artboard Area Tool in CS4 to set the borders of the image; Help will help you how. You may also state version and get specific instructions here.

  • Batch convert EPS/AI to PNG using Javascript

    Hi,
    I have lots of eps and ai files which I would like to convert to PNG format. The reason for doing this is to make it easier to find the image that I want instead of opening it one by one. I know Photoshop can do the conversion but limited to JPG, PSD and TIFF only. The filesize also will be so huge and the image quality is not sharp.
    One of the preset scripts for Adobe CS3 is SaveDocsAsPDF. I tried using this and then convert the PDF to PNG using Acrobat. I would required too much time to do it. I think there might be a better way to achieve the same result.
    I am not a programmer and cant figure out how to tweak the SaveDocsAsPDF script and become SaveDocsAsPNG script.
    It would be great if I can just select the folder and all the conversion will be done in the backgroud.
    Anyone can help me?
    Thanks

    ADOBE SYSTEMS INCORPORATED
    Copyright 2005 Adobe Systems Incorporated
    All Rights Reserved
    NOTICE:  Adobe permits you to use, modify, and
    distribute this file in accordance with the terms
    of the Adobe license agreement accompanying it. 
    If you have received this file from a source
    other than Adobe, then your use, modification,
    or distribution of it requires the prior
    written permission of Adobe.
    ExportDocsAsPNG24.js
    DESCRIPTION
    This sample gets files specified by the user from the
    selected folder and batch processes them and saves them
    as PDFs in the user desired destination with the same
    file name.
    // Main Code [Execution of script begins here]
    // uncomment to suppress Illustrator warning dialogs
    // app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    var destFolder, sourceFolder, files, fileType, sourceDoc, targetFile, pngExportOpts;
    // Select the source folder.
    sourceFolder = Folder.selectDialog( 'Select the folder with Illustrator files you want to convert to PNG', '~' );
    // If a valid folder is selected
    if ( sourceFolder != null )
        files = new Array();
        fileType = prompt( 'Select type of Illustrator files to you want to process. Eg: *.ai', ' ' );
        // Get all files matching the pattern
        files = sourceFolder.getFiles( fileType );
        if ( files.length > 0 )
            // Get the destination to save the files
            destFolder = Folder.selectDialog( 'Select the folder where you want to save the converted PNG files.', '~' );
            for ( i = 0; i < files.length; i++ )
                sourceDoc = app.open(files[i]); // returns the document object
                // Call function getNewName to get the name and file to save the png
                targetFile = getNewName();
                // Call function getPNGOptions get the PNGExportOptions for the files
                pngExportOpts = getPNGOptions();
                // Export as PNG
                sourceDoc.exportFile( targetFile, ExportType.PNG24, pngExportOpts );
                sourceDoc.close(SaveOptions.DONOTSAVECHANGES);
            alert( 'Files are saved as PNG in ' + destFolder );
        else
            alert( 'No matching files found' );
    getNewName: Function to get the new file name. The primary
    name is the same as the source file.
    function getNewName()
        var ext, docName, newName, saveInFile, docName;
        docName = sourceDoc.name;
        ext = '.png'; // new extension for png file
        newName = "";
        for ( var i = 0 ; docName[i] != "." ; i++ )
            newName += docName[i];
        newName += ext; // full png name of the file
        // Create a file object to save the png
        saveInFile = new File( destFolder + '/' + newName );
        return saveInFile;
    getPNGOptions: Function to set the PNG saving options of the
    files using the PDFSaveOptions object.
    function getPNGOptions()
        // Create the PDFSaveOptions object to set the PDF options
        var pngExportOpts = new ExportOptionsPNG24();
        // Setting PNGExportOptions properties. Please see the JavaScript Reference
        // for a description of these properties.
        pngExportOpts.antiAliasing = true;
        pngExportOpts.artBoardClipping = true;
        //pngExportOpts.horizontalScale = 100.0;
        //pngExportOpts.matte = true;
        //pngExportOpts.matteColor = 0, 0, 0;
        pngExportOpts.saveAsHTML = false;
        pngExportOpts.transparency = false;
        //pngExportOpts.verticalScale = 100.0;
        return pngExportOpts;
    Copy the above and paste into a text editor or the ESTK and save (from the text editor be sure to save as plain text). Place it into HD/Applications/Adobe Illustrator CS6/Presets/en_US/Scripts. Restart AI.

  • How to add tool tips on Image Icon obj?

    how to add tool tips on Image Icon obj?

    Take a look at the link shown below where drawing is done on a JButton -- you can draw your image on a JLabel too.
    http://developer.java.sun.com/developer/TechTips/1999/tt0826.html
    By drawing on a JLabel or JButton, you can add tooltiptext when needed.
    ;o)
    V.V.

  • Does Aperture 2 have a way of converting raw images to png or jpeg.

    Does Aperture 2 have a way of converting raw images to png or jpeg

    That's why we're here
    In regards to your original question converting RAW images to JPGs is one of Apertures reason for being. As Terrence stated once the image is in Aperture ad you've made chatterer adjustments you want to it you then can export the image in a wide array of formats, sizes and qualities depending on what you will be doing with the exported image.
    The Aperture user manual is a good place to start, it's well written and has a lot of good info in it.
    Good luck
    regads

  • Converting bitmap (byte[ ]) to PNG

    I have a BMP in a byte[ ] that I need to convert to a PNG. I get the byte[ ] from an external application thorugh JNI so there's nothing I can do about the format. The images will end up on a webpage so bitmaps are not acceptable due to size. Using some application (image editor, whatever) to convert the images won't do it as everything has to happen automagically.
    I know that the incoming bitmap is correct as the following code produces a the expected bitmap in a file:
    byte[] image = // code calling a method that gets the image goes here
    try {
            ByteArrayOutputStream outStream = new ByteArrayOutputStream();
            outStream.write(image, 0, image.length);
            FileOutputStream writer = new FileOutputStream("test.bmp");
            outStream.writeTo(writer);
             writer.close();
    } catch (IOException e) {
           // error handling here
    }I can't however figure out how to convert the bitmap to PNG. I'd prefer to do it directly from the byte[ ] but using a temporary BMP file is ok if it's easier.
    I've tried to use the following code but it produces a 1kB black image of correct width and height.
        byte[] image = // code calling a method that gets the image goes here
        Image img = Toolkit.getDefaultToolkit().createImage(image); // returns a  sun.awt.windows.WImage
        int width = 100; //hardcoded at the moment as a I know the dimensions for the test images
        int height = 200;
        BufferedImage bImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);
        Graphics2D g2d = bImage.createGraphics();
        g2d.drawImage(img, 0, 0, width, height, null);
        g2d.dispose();
        try {
            File outfile = new File("test.png");
            ImageIO.write(bi, "png", outfile);
        } catch (IOException e) {
            e.printStackTrace();
        }Could anyone provide some pointers?

    When looking up ImageIcon I realized that both ImageIcon and Toolkit, which I was trying to use, only support reading GIF, JPG and PNG. Neither will help me as the data I have is in BMP format.
    You'll need to create a conversion between the two fileformats yourself I was afraid of that, I really don't have the time to start fiddling around with file formats.
    or find one somewhere,Oh well, back to Google. Any and all suggestions welcome.

  • Does anyone know how to convert file into a .png?

    Does anyone know how to convert file into a .png?
    Thanks

    I tried to give an answer with less steps. I know it's a Pages file & all you have to do is select & copy the content in your Pages file & then open Preview.app. Next time I'll include the exporting to PDF & opening that in Preview.app or in Pages go to File > Print > click on the PDF button in the lower left of the print window & choose Open in Preview.

  • How to convert raster images like( PNG, JPG,GIF, BMP, TIFF etc) into SVG

    Hi Friends!
    With a hope that any Java Guru from SUN Forum can help me to solve my query, I'm posting my thread here.
    I have a project with feature to add image. My requirement is to convert any selected image file like (PNG,JPG,BMP,Tiff) into SVG Formate before adding it to Frame.
    I found one software from the link :
    http://delineate.sourceforge.net/
    Which covert raster to SVG.
    But I don't how can i use it runtime ?
    I want to convert during runtime process. like when user select option for to add Image then it call a procedure to add Image by converting any raster to svg & finally add to Frame.
    Your any help/suggestions wold be appreciated
    Regards
    Kirti

    There are basically two approaches:
    1. Embed the raster image in the SVG
    2. Vectorize the image
    1. Use Batik, or just write the XML yourself. Create some SVG files with embedded images, the syntax isn't to difficult. You could do it with a PrintWriter.
    2. Good luck to you. Writing a good vectorizer is
    - difficult
    - often pointless
    - though a great challenge if you're in to it
    The appllication you mention actually is only a front-end. it doesn't execute the vectorization itself. It uses Potrace and autotrace, which are native applications.

Maybe you are looking for

  • HT201302 I have an iPod touch, and want to transfer all my photos (taken over the last year) to my Windows 8 PC, how can I do this?

    I believe it's 4th gen - it does have a camera (hence all the photos). I don't want to update it to the latest iOS since I'm concerned it will slow it down too much, but it is running 5.1 I believe. I have a Windows 8 PC and have just installed iTune

  • Can't connect iphone to Apple TV

    I have borrowed my dad's Apple TV for a few days and I can't connect using Airplay to watch movies through my TV. It has worked before but apepears to have stopped working since updating software. Any suggestions as to what may be the problem??

  • How to pass a variable from HTML to Flash 9

    I have built my flash ad banner in Flash 9 and now want the HTML code to pass the url over to the flash movie that it should jump to when clicked. The info in the help file seems out of date for the latest HTML template as it uses mainly JavaScript t

  • HTTP server code 405 reason Method Not Allowed exception

    I get a 405 method not allowed exception in synchronous http receiver. However I have verified that a http post is expected by the receiver system. Is there anythin else I could check or what could cause the error?

  • Appraisals

    Hi SAP HR Gurus, My issue is about "Appraisals" in Personnel Development. I created an appraisal for an employee by navigating through the various stages of appraisal, say, "In Preparation", "In Planning", "In Review", "In Process" and "Completed" us