BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ganeshijee
Fluorite | Level 6

 Hi ,

 

i have created 2 png files but i have to combined 2 png files in single png files can you please help me ?

1 ACCEPTED SOLUTION

Accepted Solutions
ganeshijee
Fluorite | Level 6

Sure ,Thanks for the suggestion.

View solution in original post

7 REPLIES 7
PeterClemmensen
Tourmaline | Level 20

Show us your code.

RW9
Diamond | Level 26 RW9
Diamond | Level 26

Why do you need two png files in one?  png's are pictures.  Best bet is to create an rtf file(ods rtf file=, before and close after) then both images will be in a useful file.  Png has no concept of pages and such like, so your output png will never be a useful file.

ganeshijee
Fluorite | Level 6

  Thanks for the reply .

Yes i agree with you but as per my task(client requirement ) i need to provide in png file. actually i did in PDF file but they are not ready to accept. so that i am trying to get in PNG format.

RW9
Diamond | Level 26 RW9
Diamond | Level 26

Then your stuck with a very silly process and a client who does not know what they are talking about.  Just increase the cost of the task and manually open the graph in a paint application, extend the size of the image, and copy paste the other in there.  A PNG is a picture it is not a document, it has not page operations, or document metadata, therefore is not useful outside a proper document format.  

ganeshijee
Fluorite | Level 6

Sure ,Thanks for the suggestion.

WarrenKuhfeld
Ammonite | Level 13

https://blogs.sas.com/content/graphicallyspeaking/2017/09/18/advanced-ods-graphics-inserting-graph-g...

 

You can use SG annotation in proc sgplot or DRAW statements in GTL to insert graphs into graphs. The link above shows one type of example.

ganeshijee
Fluorite | Level 6

Thank you sir 

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 7 replies
  • 2171 views
  • 2 likes
  • 4 in conversation