Professional Web Applications Themes

Graphic file formats - Ruby

Hi. I'm looking for some graphic file formats I could use in ruby. My (old?) doc says .gif, .pgm or .ppm . I don't want to use .gif, .pgm is black and white and .ppm tanslates files to very big ones. I think that .jpg has tpp much loss... What file format may I use, and where can I find usefull ruby-drivers for it? Thank you. Merci. -- Ceci est une signature automatique de MesNews. Site : http://mesnews.no-ip.com...

  1. #1

    Default Graphic file formats

    Hi.

    I'm looking for some graphic file formats I could use in ruby.
    My (old?) doc says .gif, .pgm or .ppm .
    I don't want to use .gif, .pgm is black and white and .ppm tanslates
    files to very big ones.
    I think that .jpg has tpp much loss...

    What file format may I use, and where can I find usefull ruby-drivers
    for it?

    Thank you.
    Merci.

    --
    Ceci est une signature automatique de MesNews.
    Site : http://mesnews.no-ip.com

    Peefh Guest

  2. #2

    Default Re: Graphic file formats

    Hi,

    At Sun, 22 Feb 2004 21:19:51 +0900,
    Peefh wrote in [ruby-talk:93394]: 

    PNG with Ruby/GD?

    --
    Nobu Nakada


    nobu.nokada@softhome.net Guest

  3. #3

    Default Re: Graphic file formats

    Hello,

    I recently started using RMagick and I *love* it. I think it only runs on
    Linux (not sure), so I hope that's not a problem. I just grabbed them both
    from portage on gentoo and they work great!

    At first I started using PNGs to save my images. (It's for a family picture
    website, so I'm scaling down the pictures from huge, printable sizes to
    reasonable sizes, and also generating thumbnails.) They looked great, but
    were kind of large (a problem for some of my relatives with slower
    connection speeds). So I tried jpg, and they still look pretty damn good.
    Unfortunately, I couldn't figure out how to change the compression level,
    but fortunately they default to a pretty good balance between size and image
    quality (unlike GIMP, which defaults to "more artifacts than Egypt, but in
    15k or less!")

    Chris



    Chris Guest

  4. #4

    Default Re: Graphic file formats

    On Sun, 22 Feb 2004 23:40:45 +0900, Chris Pine wrote: 

    I have RMagick installed on FreeBSD box. I guess it also runs on windows?

    --
    Simon Strandgaard
    Simon Guest

  5. #5

    Default Re: Graphic file formats

    I have successfully compiled RMagic on Windows XP with MingW, but thanks
    god I've got my Powerbook now :-).

    /kent

    Chris Pine wrote:
     
    Kent Guest

  6. #6

    Default Re: Graphic file formats


    "Simon Strandgaard" <dk> wrote in message
    news:dk... [/ref]
    on [/ref]
    both 
    >
    > I have RMagick installed on FreeBSD box. I guess it also runs on windows?
    >[/ref]

    The readme says: RMagick does not run on MS Windows except with Cygwin.


    Shashank Guest

  7. #7

    Default Re: Graphic file formats

    On Sun, 22 Feb 2004 23:40:45 +0900, Chris Pine wrote:

     


    Yes, the doc for this is sorta hidden. Sorry. Specify "quality" when you
    write the image:

    img.write('mypic.jpg') { self.quality = 50 }

    The default is 75.

    Tim Guest

  8. #8

    Default Re: Graphic file formats

    In article <AW4_b.14358$bellsouth.net>,
    Kent S. <com> wrote: 

    Amen, brother!

    BTW: do you use RMagic on your PowerBook? I imagine that you have to get
    the ImageMagic first (for X, no doubt). Also, what about OS X's image
    conversion program (forget what it's called) - can it be driven from Ruby?

    Phil
    Phil Guest

Similar Threads

  1. File Formats
    By bmohnsen in forum Macromedia Director 3D
    Replies: 5
    Last Post: April 30th, 10:44 AM
  2. Does a pdf retain file formats?
    By Matthew_Lueders@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 2
    Last Post: January 23rd, 09:51 PM
  3. HELP: EXTERNAL graphic in Director and file formats with alpha channels
    By Vegard Cock in forum Macromedia Director Lingo
    Replies: 2
    Last Post: September 10th, 09:32 AM
  4. file formats?
    By jonco in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 1
    Last Post: July 16th, 03:28 PM
  5. Don't need these file formats! Please help!
    By shutter in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 4
    Last Post: July 3rd, 02:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139