XANSYS Message: 18533 [Go back to message list]
[bookmark on del.icio.us]
No rating yet
Rate item:

Subject: Re: Controlling name of jpeg output
Author: Mark Rodamaker
Date: 2000-11-30 10:19:00

I was creating some jpeg files interactiveley and just noticed the small
file/big file problem. I think it is a file buffering problem. If I create a
jpeg file , it looks fine but the next one is small until I create another
one or exit Ansys. Ansys is not closing the file but does so if you exit
Ansys. Another good reason to get out of Ansys.

Mark Rodamaker
MCR Associates
Sunnyvale,California
voice: 408-736-1636

----- Original Message -----
To:
Sent: Thursday, November 30, 2000 9:49 PM

> James,

> I'm always interested in undocumented commands that may do something I
> really need. Do you have the time to give a one sentence explanation of
> the "JPEG" commands you listed? Also, do you know if these will become
> "official" documented commands at 5.7?

> Thanks,

> Jim P.

> James J. Patterson
> Engineering Analyst
> Hendrickson Trailer Suspension Systems
> 2070 Industrial Place SE
> Canton, OH 44707
> Tele: 330-489-0095
> Fax: 330-489-0450
> email: jpatterson@h...

> "James J.
> Kosloski" To:
> > ai.com> Subject: RE: [xansys]
Controlling name of jpeg output

> 11/30/00
> 03:50 PM

> There are a couple of undocumented commands that should help with this:
> Using Mark's macro below

> /dev,psfn,ninc ! Command to prevent indexing of
> jpgs (or ps files)
> ! all plots will be jobname.jpg
> /sho,jpeg ! switch output to jpeg
> file
> replo ! replot output(sending it
> to jpeg file)
> /show,close ! make sure all data is
> written to file (no small files)
> /sho,term ! switch output back to
> screen
> /RENAME,,jpg,,myname,jpg ! Use the ANSYS rename command
for
> platform compatibility
> !/sys,rename Jobname000.jpg MyName.jpg ! rename jpeg file

> Other commands to be aware of are:

> !JPEG settings
> JPEG,QUAL,75,
> JPEG,ORIENT,HORIZ
> JPEG,COLOR,2
> JPEG,TMOD,1

> !To Set reverse Video
> /RGB,INDEX,100,100,100, 0
> /RGB,INDEX, 80, 80, 80,13
> /RGB,INDEX, 60, 60, 60,14
> /RGB,INDEX, 0, 0, 0,15

> !To set back to standard ANSYS Colors
> /RGB,INDEX, 0, 0, 0, 0
> /RGB,INDEX, 60, 60, 60,13
> /RGB,INDEX, 80, 80, 80,14
> /RGB,INDEX,100,100,100,15

> Hope this helps

> James J. Kosloski Project Manager
> kosloski@c...

> Computer Aided Engineering Associates Inc.
> 60 Middle Quarter Mall Woodbury, CT 06798
> PH: (203)263-4606 FAX:(203)266-9049


Posts possibly associated with message #18533AuthorDateScore
18486Controlling name of jpeg outputMark Fahey m.fahey@2000/11/30 
18493Re: Controlling name of jpeg outputJohn Ceko2000/11/30 
18495Re: Controlling name of jpeg outputJim Patterson2000/11/30 
18499Re: Controlling name of jpeg outputMark Fahey m.fahey@2000/11/30 
18500Re: Controlling name of jpeg outputMark Fahey m.fahey@2000/11/30 
18517Re: Controlling name of jpeg outputMonte McGlaun2000/11/30 
18521Re: Controlling name of jpeg outputJim Patterson2000/11/30 
18522Re: Controlling name of jpeg outputMonte McGlaun2000/11/30 
18525Re: Controlling name of jpeg outputJames Kosloski2000/11/30 
18530Re: Controlling name of jpeg outputJim Patterson2000/11/30 
18531Re: Controlling name of jpeg outputJim Patterson2000/11/30 
18532Re: Controlling name of jpeg outputJames Kosloski2000/11/30 
18533Re: Controlling name of jpeg outputMark Rodamaker2000/11/30 
18535Re: Controlling name of jpeg outputMonte McGlaun2000/11/30 
18546Re: Controlling name of jpeg outputTom Jones2000/12/01 
18566Re: Controlling name of jpeg outputJames Kosloski2000/12/01