Find the answer to your Linux question:
Results 1 to 6 of 6
Hey Guyz!!! i want to develop a PDF VIEWER for LINUX CLI .... is it possible to view graphics (images ...different fonts) on CLI ... also let me knw if ...
  1. #1
    pdf
    pdf is offline
    Just Joined!
    Join Date
    Mar 2010
    Posts
    13

    graphics on CLI

    Hey Guyz!!!
    i want to develop a PDF VIEWER for LINUX CLI ....

    is it possible to view graphics (images ...different fonts) on CLI ...

    also let me knw if u have pdf compiler code...

    plz help
    i have to submit this appilcation as my BE Project until next month

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    Check this thread. You might find info you need. I will get you started at least.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    pdf
    pdf is offline
    Just Joined!
    Join Date
    Mar 2010
    Posts
    13
    thanx for the help casper....

    but the info der is not much to my help....

    plz tell if i can view pdf files on CLI

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    You can, yes, by displaying the image in the framebuffer.

    Currently, the only program I'm aware of that can display pdfs in the framebuffer is fbgs, part of fbida.

  5. #5
    pdf
    pdf is offline
    Just Joined!
    Join Date
    Mar 2010
    Posts
    13
    'am using fedora 8 i have installed fbida

    while displaying imaging on CLI we got following problem :

    [root@Complab7-8 ~]# fbi -P a.jpg
    using "DejaVu LGC Sans Mono-16", pixelsize=16.67 file=/usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono.ttf
    ioctl VT_GETSTATE: Invalid argument (not a linux console?)


    how to overcome this error
    i u have any more information regarding displaying image on cli please help
    plz also tell any other library which can be used instead on fbida\

  6. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Well, off the top of my head you're either running X, don't have the framebuffer setup correctly or have set an unsupported resolution, or are using GNU screen.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...