Re: image crop

Terry Brown <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
On Wed, 5 Aug 2015 07:57:10 +0000 (UTC)
Guenter Milde <[email protected]> wrote:

> On 2015-08-04, JENNIFER ITO wrote:
> 
> > [-- Type: text/plain, Encoding:  --]
> 
> > Hello!
> 
> > I'm new to reStructuredText and am wondering if there is a way to
> > crop an image/figure.  I looked at the docutils directives webpage
> > and found the options for images but do not see anything that would
> > crop an image.  Is it not possible or is there a work-around?  Any
> > help is appreciated.
> 
> This is not supported, you must use an external editor and create a
> cropped copy. 
> (Is cropping supported by HTML? Otherwise you would need a cropped
> copy of the image anyway -- at least for HTML output.)

Images can be cropped in HTML when using them as CSS specified
backgrounds for divs etc.  Sometime when you look at the resources a
page is downloading all its icons are in a strip in one image (saving
on network traffic), and it crops them to suit different places on the
page.

Cheers -Terry

> You may consider filing an enhancement request or discuss possible
> implementations first here on the list.
> 
> Günter
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Docutils-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/docutils-users
> 
> Please use "Reply All" to reply to the list.

------------------------------------------------------------------------------
_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.