[comp.sys.amiga] Flip Pictures Sideways

antunes@ASTRO.PSU.EDU (Alex Antunes) (01/19/90)

Hello!  I have some digitized pictures, and unfortunatly they are
quite nice but sideways on my screen.  Rather then rotate my
monitor, does anyone know of a way to rotate an IFF image 90 degrees?

Well, as long as I'm asking... does anyone know a way to call an IFF
image to just appear within a window (i.e. the window you typed the
command into?)

Thank you for help, I hope these questions aren't TOO silly.  :-)
------------
Sandy Antunes   "the Waupelani Kid" 'cause that's where I live...
antunes@astro.psu.edu          CBA:  Center for Bad Astrophysics
------              "I was only dreaming..."              ------

perry@madnix.UUCP (Perry Kivolowitz) (01/22/90)

In article <9001190437.AA25675@astro.psu.edu> antunes@ASTRO.PSU.EDU (Alex Antunes) writes:
>Hello!  I have some digitized pictures, and unfortunatly they are
>quite nice but sideways on my screen.  Rather then rotate my
>monitor, does anyone know of a way to rotate an IFF image 90 degrees?

Rotating an image by 90 degrees is straight forward, but then you'll 
have to adjust for the fact that Amiga pixels aren't sqaure so the 
resulting rotated image will appear quite stretched.

I don't know of other programs that will thoroughly handle this, but
you can look forward to ASDG's ``The Art Department'' coming in March.


-- 
Perry Kivolowitz, ASDG Inc. ``We look for things. Things that make us go.''
	UUCP:  {harvard|rutgers|ucbvax}!uwvax!astroatc!nicmad!madnix!perry
	CIS:   76004,1765 PLINK: pk-asdg

bleys@tronsbox.UUCP (Bill Cavanaugh) (01/22/90)

In item 4037, Alex Antunes writes:
>Hello!  I have some digitized pictures, and unfortunatly they are
>quite nice but sideways on my screen.  Rather then rotate my
>monitor, does anyone know of a way to rotate an IFF image 90 degrees?
>
>Well, as long as I'm asking... does anyone know a way to call an IFF
>image to just appear within a window (i.e. the window you typed the
>command into?)
>
>Thank you for help, I hope these questions aren't TOO silly.  :-)


First, there's on such thing as a silly question.  The only silly ones are
the ones you don't ask...

I don't know of any way to display an IFF in a console window.  I do know
that if you've got dpaint, you can load an IFF, cut it as a brush, rotate
the brush 90 degrees, and save the file.  I've done it several times to
avoid a stiff neck...<grin>

uunet!tronsbox!bleys

"The perversity of the universe tends to a maximum"

                             Finagle's First Law

tron1@tronsbox.UUCP (HIM) (01/22/90)

>>Well, as long as I'm asking... does anyone know a way to call an IFF
>>image to just appear within a window (i.e. the window you typed the
>>command into?)

It can be done (an in fact in >MOST< iff viewers it is put in a borderless
window that size of the screen)

But you would have to make sue it had the same pallet and bitplane depth as
its parent screen

****************************************************************************
Everything I say is Copr.  1990, except the stuff I stole from someone else
and the stuff I don't want responsibility for.
 
Kenneth J. Jamieson: Xanadu Enterprises Inc. "Professional Amiga Software"
      UUCP: tron1@tronsbox.UUCP  BEST PATH ---> uunet!tronsbox!tron1 
      Sysop, Romantic Encounters BBS - (201)759-8450 / (201)759-8568 
****************************************************************************

bleys@tronsbox.UUCP (Bill Cavanaugh) (01/23/90)

>It can be done (an in fact in >MOST< iff viewers it is put in a borderless
>window that size of the screen)
>
>But you would have to make sue it had the same pallet and bitplane depth as
>its parent screen

Every picture displayer I've seen has opened a custom screen, and opened the
display window there.  I'd love to see a viewer that opened a window on a
screen of the >user's< specification!

uunet!tronsbox!bleys

"The perversity of the universe tends to a maximum"

                             Finagle's First Law

tron1@tronsbox.UUCP (HIM) (01/23/90)

>In item 4037, Alex Antunes writes:

>>Hello!  I have some digitized pictures, and unfortunatly they are
>>quite nice but sideways on my screen.  Rather then rotate my
>>monitor, does anyone know of a way to rotate an IFF image 90 degrees?
>

Well, the stuff I use here is the Fuzzy Bit Map and PBM software , currently
only Unix , the C is very simple ans should be a CINCH to convert to the
Amiga.

This stuff does an incredible jod of folding/spindleing/mutilating bitmaps
of any format (almost) and can do many NEET THINGS (tm).

Usually you will find that software of this type is more useful than
commercial.

****************************************************************************
Everything I say is Copr.  1990, except the stuff I stole from someone else
and the stuff I don't want responsibility for.
 
Kenneth J. Jamieson: Xanadu Enterprises Inc. "Professional Amiga Software"
      UUCP: tron1@tronsbox.UUCP  BEST PATH ---> uunet!tronsbox!tron1 
      Sysop, Romantic Encounters BBS - (201)759-8450 / (201)759-8568 
****************************************************************************

barry@netcom.UUCP (Kenn Barry) (01/24/90)

In article <25bbd145:4037.5comp.sys.amiga;1@tronsbox.UUCP> tron1@tronsbox.UUCP (HIM) writes:
>>In item 4037, Alex Antunes writes:
>>>Hello!  I have some digitized pictures, and unfortunatly they are
>>>quite nice but sideways on my screen.  Rather then rotate my
>>>monitor, does anyone know of a way to rotate an IFF image 90 degrees?
>
>Well, the stuff I use here is the Fuzzy Bit Map and PBM software , currently
>only Unix , the C is very simple ans should be a CINCH to convert to the
>Amiga.

	Well... I converted FBM for the Amiga. Yes, the code-changes
were minimal, but there was a problem. FBM is a memory-hog. It politely
refuses to touch any really large image on my 1.5 meg Amiga because it
can't malloc the memory.

	When I got hold of PBMPLUS I made a brief attempt to port it.
Same problem, but worse - it wouldn't touch even small images without
bailing, for lack of memory. Both these packages, being written for
UN*X, expect virtual memory to be available, and blithely request *huge*
buffers for images. If you've got multi-megabytes of core in your Amiga,
do go for it - the code-changes really are minimal, and the packages
well worth porting. Otherwise, anybody wanna volunteer to rewrite these
to a streamed form, reading/converting/writing one scanline at a time
wherever that's feasible?

>This stuff does an incredible jod of folding/spindleing/mutilating bitmaps
>of any format (almost) and can do many NEET THINGS (tm).

	Definitely. I use the UN*X versions a lot, and my Amiga version
of FBM when I can. These are really useful, powerful, well-written
utilities.

>Usually you will find that software of this type is more useful than
>commercial.

	You said it. I was scanning the shelves of my local Amiga dealer
recently, looking for commercial packages to do image format
conversions. I saw one. It handled only a few formats. And they were
charging *$250.00* (!!!!!) for it! I'm glad I don't remember the name of
this package, lest my comments on their pricing become slanderous.

-  Note new email address!  -             Kenn Barry
----------------------------------------------------------------
ELECTRIC AVENUE:	                  apple!netcom!barry

bdb@becker.UUCP (Bruce Becker) (01/25/90)

In article <6038@netcom.UUCP> barry@netcom.UUCP (Kenn Barry) writes:
|[...]
|	Well... I converted FBM for the Amiga. Yes, the code-changes
|were minimal, but there was a problem. FBM is a memory-hog. It politely
|refuses to touch any really large image on my 1.5 meg Amiga because it
|can't malloc the memory.
|
|	When I got hold of PBMPLUS I made a brief attempt to port it.
|Same problem, but worse - it wouldn't touch even small images without
|bailing, for lack of memory. Both these packages, being written for
|UN*X, expect virtual memory to be available, and blithely request *huge*
|buffers for images. If you've got multi-megabytes of core in your Amiga,
|do go for it - the code-changes really are minimal, and the packages
|well worth porting. Otherwise, anybody wanna volunteer to rewrite these
|to a streamed form, reading/converting/writing one scanline at a time
|wherever that's feasible?

	Would you be willing to post or otherwise
	make available the changes needed to port
	these 2 packages in their current form?

Thanks,
-- 
  ,,,,	 Bruce Becker	Toronto, Ont.
w \$$/	 Internet: bdb@becker.UUCP, bruce@gpu.utcs.toronto.edu
 `/c/-e	 BitNet:   BECKER@HUMBER.BITNET
_/  >_	 "Money is the root of all money" - Adam