Re: FVWM: ImageMagick display style option?

2013-03-26 Thread Walter Alejandro Iglesias
On Mon, Mar 25, 2013 at 05:46:09PM -0600, Jaimos Skriletz wrote:
> On Mon, Mar 25, 2013 at 08:45:36PM +0100,
> michael.gros...@gmx.de wrote:
> > Hello everybody,
> > 
> > I've noted that when I open with (ImageMagick)
> > display command an image larger than the screen the
> > window geometry doesn't take in care borders and
> > title, then right and bottom window borders are
> > hidden outside the limit of the screen.  Somebody
> > knows a style option or another workaround for this?
> > 
> > 
> 
> Have you tried the using the -geometry option for display.

Yes, I'd tried that.  I asked here to know if it exists a better
way.


Thanks Jaimos






Re: FVWM: ImageMagick display style option?

2013-03-25 Thread Walter Alejandro Iglesias
On Mon, Mar 25, 2013 at 09:59:14PM +0100, Michael Großer wrote:
> Walter Alejandro Iglesias wrote:
> > Hi Michael,
> > 
> > On Mon, Mar 25, 2013 at 08:45:36PM +0100, michael.gros...@gmx.de wrote:
> >> > Hello everybody,
> >> > 
> >> > I've noted that when I open with (ImageMagick) display command
> >> > an image larger than the screen the window geometry doesn't take
> >> > in care borders and title, then right and bottom window borders
> >> > are hidden outside the limit of the screen.  Somebody knows a
> >> > style option or another workaround for this?
> >> > 
> >> > 
> >> > Thanks in advance
> >> > 
> >> >  Walter
> >> > 
> >> > 
> >> 
> >> 
> >> 
> >> I have this with XV too, but I like this behavior, because this is
> >> exactly what I want: Seeing an unscaled image
> > 
> > By default the display command doesn't scale the image but
> > resizes the frame and open the little window with a thumbnail
> > where you click and scroll.  The problem is Imagemagick
> > considers the size of the physical screen without resting the
> > width of the window frame and title.
> > 
> > For example if you remove borders and title:
> > 
> > Style display   !Title, !Handles, !Borders
> > 
> > and open an image larger than the screen you can scroll the
> > whole image using the thumbnail mini-window.  With the borders
> > and title you can't (unless you scroll along the screen with the
> > pager).
> > 
> 
> 
> Hi Walter,
> 
> in both of your messages, you described what you get, but you
> didn't describe what you want instead.
> 
> Please describe in detail which behavior you exactly want.
> Tastes of people are very different, and it is hard to guess
> your taste in your case.

Probably xv (I haven't it on Debian) doesn't do exactly the same
than display command that's why you don't understand me.  The
behavior expected is the same you get when you maximize a
window.  Imagine that you maximize a window but the program
forces the real screen size on the dimensions of the buffer (not
the real size of the content, the image in this case).  The
result is, if the external +0+0 corner of the title frame is
placed on +0+0 of the physical screen the right and bottom
borders are drawn out of the screen.  Remember that what the
program tries to do is to *resize* the frame to fit on the
screen, the frame doesn't respect the real size of the image.
What you obviously want is to see the whole title and frames on
the screen, like any maximized window.


> 
> - Michael -



Re: FVWM: ImageMagick display style option?

2013-03-25 Thread Michael Großer
Walter Alejandro Iglesias wrote:
> Hi Michael,
> 
> On Mon, Mar 25, 2013 at 08:45:36PM +0100, michael.gros...@gmx.de wrote:
>> > Hello everybody,
>> > 
>> > I've noted that when I open with (ImageMagick) display command
>> > an image larger than the screen the window geometry doesn't take
>> > in care borders and title, then right and bottom window borders
>> > are hidden outside the limit of the screen.  Somebody knows a
>> > style option or another workaround for this?
>> > 
>> > 
>> > Thanks in advance
>> > 
>> >Walter
>> > 
>> > 
>> 
>> 
>> 
>> I have this with XV too, but I like this behavior, because this is
>> exactly what I want: Seeing an unscaled image
> 
> By default the display command doesn't scale the image but
> resizes the frame and open the little window with a thumbnail
> where you click and scroll.  The problem is Imagemagick
> considers the size of the physical screen without resting the
> width of the window frame and title.
> 
> For example if you remove borders and title:
> 
> Style display   !Title, !Handles, !Borders
> 
> and open an image larger than the screen you can scroll the
> whole image using the thumbnail mini-window.  With the borders
> and title you can't (unless you scroll along the screen with the
> pager).
> 


Hi Walter,

in both of your messages, you described what you get, but you
didn't describe what you want instead.

Please describe in detail which behavior you exactly want.
Tastes of people are very different, and it is hard to guess
your taste in your case.

- Michael -



Re: FVWM: ImageMagick display style option?

2013-03-25 Thread Walter Alejandro Iglesias
Hi Michael,

On Mon, Mar 25, 2013 at 08:45:36PM +0100, michael.gros...@gmx.de wrote:
> > Hello everybody,
> > 
> > I've noted that when I open with (ImageMagick) display command
> > an image larger than the screen the window geometry doesn't take
> > in care borders and title, then right and bottom window borders
> > are hidden outside the limit of the screen.  Somebody knows a
> > style option or another workaround for this?
> > 
> > 
> > Thanks in advance
> > 
> > Walter
> > 
> > 
> 
> 
> 
> I have this with XV too, but I like this behavior, because this is
> exactly what I want: Seeing an unscaled image

By default the display command doesn't scale the image but
resizes the frame and open the little window with a thumbnail
where you click and scroll.  The problem is Imagemagick
considers the size of the physical screen without resting the
width of the window frame and title.

For example if you remove borders and title:

Style display   !Title, !Handles, !Borders

and open an image larger than the screen you can scroll the
whole image using the thumbnail mini-window.  With the borders
and title you can't (unless you scroll along the screen with the
pager).






Re: FVWM: ImageMagick display style option?

2013-03-25 Thread Michael . Grosser
> Hello everybody,
> 
> I've noted that when I open with (ImageMagick) display command
> an image larger than the screen the window geometry doesn't take
> in care borders and title, then right and bottom window borders
> are hidden outside the limit of the screen.  Somebody knows a
> style option or another workaround for this?
> 
> 
> Thanks in advance
> 
>   Walter
> 
> 



I have this with XV too, but I like this behavior, because this is
exactly what I want: Seeing an unscaled image (watching down-scaled
Screenshots is not nice; it is always perfect when FVWM shows the
plain screenshots and hides the window borders and titles outside
of the screen).

I have configured FVWM in a way that, when I hold down the
WIN key, click with the left mouse button into the XV image and
move the mouse, then the whole XV image starts moving according to
the moving of my mouse.

When I have a case in which I do not need this behavior, then I
open a Web Browser to view the image within that.

Oh yeah, for XV, I have another FVWM hotkey: WIN + RETURN.
When I hit WIN + RETURN, my XV window maximises like every other
window. If XV shows a picture larger than the screen, it shrinks
of course, to screen size.

Perhaps, you should configure your FVWM in a way that it
recognizes that ImageMagick starts and automatically maximizes
ImageMagick when it is larger than the screen.

Or you adapt my config together with my habit as described above.
Though I hit very often WIN + RETURN when I deal with windows, but
I have full control, and you will familiarize very fast with it :-)

- Michael -