all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Greg Hill <ghill@synergymicro.com>
Subject: displaying images
Date: Thu, 30 Jan 2003 18:40:53 -0800	[thread overview]
Message-ID: <p04310101ba5f8c9964b5@[198.17.100.22]> (raw)

[-- Attachment #1: Type: text/plain, Size: 820 bytes --]

I used a utility program (convert, from the ImageMagick package, on a 
gnu-linux system) to create copies of a jpeg file in different sizes. 
I display them like this:

      (insert-image (create-image "rms50.jpeg") (point))

Using another utility program (display, from the same package) the 
pictures all look right.  The files also all seem to be of 
appropriate sizes.

     1259 Jan 30 18:42 rms10.jpeg
     4420 Jan 30 18:49 rms25.jpeg
   12833 Jan 30 18:49 rms50.jpeg
   13345 Jan 30 18:53 rms51.jpeg
   25729 Jan 30 18:49 rms75.jpeg
   39173 Jan 30 18:49 rms100.jpeg

The 10%, 25%, 51%, 75% and 100% scale image display properly using 
create-image and insert-image as shown above.  But the 50% scale 
image image displays the same size as the 100% image.

The 50%, 51% and 100% jpeg files are attached.

--Greg

[-- Attachment #2: rms100.jpeg.jpg --]
[-- Type: image/jpeg, Size: 39173 bytes --]

[-- Attachment #3: rms51.jpeg.jpg --]
[-- Type: image/jpeg, Size: 13345 bytes --]

[-- Attachment #4: rms50.jpeg.jpg --]
[-- Type: image/jpeg, Size: 12833 bytes --]

[-- Attachment #5: Type: text/plain, Size: 148 bytes --]

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs

             reply	other threads:[~2003-01-31  2:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-31  2:40 Greg Hill [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-15 10:35 Displaying images Felix E. Klee
2023-01-15 11:40 ` Jean Louis
2023-01-15 12:09   ` Emanuel Berg
2023-01-15 19:27 ` Daniel Fleischer
2023-01-15 19:48   ` Felix E. Klee
2023-01-19  9:30 ` Felix E. Klee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='p04310101ba5f8c9964b5@[198.17.100.22]' \
    --to=ghill@synergymicro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.