Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 973587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:18:05+00:00 2026-05-16T03:18:05+00:00

for learning purposes I would like to know how to implement an image (and/or)

  • 0

for learning purposes I would like to know how to implement an image (and/or) pdf viewer on my own.

I’m interested in the general approach to implement such a thing.

I already read about the different formats on the net (tiff/pdf) so I found out that these files have a special format which describes where I have to look for a header, where the footer is and where the image information (in decrypted form) is.

Because I think such a viewer works sth. like:

  • opening the file
  • reading different file information (header, footer, etc.)
  • “translate” pixel positions

I need to know, how to get the pixel positions (in case of a tiff file).

How to create this as a control? Where do I have to put the pixels onto?

Feel free to correct me if I’m wrong, because ATM I don’t really have an idea and everything is just speculation.

Regards,

inno

P.S.: I would prefer a solution in C#, but if it’s in another language, it’s ok, too. Platform should be Microsoft Windows (first of all).

P.P.S.: It should work without an already installed pdf-/viewing-application.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T03:18:06+00:00Added an answer on May 16, 2026 at 3:18 am

    For any viewer like that you will have to look up the specs for each file type you want to display and figure out how its data is encoded. Some image formats build on others, or use similar encoding techniques, while others are completely different from each other. PDF is another beast. I’ve done a bit of work with it and from what I remember (I could be wrong, it’s been a while) it basically represents itself as a series of objects, each with unique position, size and assorted attributes dependent on the object type.

    I would take a look at Wikipedia. It actually has some really good articles on some of the different image formats.

    http://en.wikipedia.org/wiki/JPEG

    And it will definitely point you to the official standards documents for each format you want to cover.

    Ultimately you will probably end up having to read/implement the rfc for each format:

    JPEG – https://www.rfc-editor.org/rfc/rfc1341
    PNG – http://www.faqs.org/rfcs/rfc2083.html
    GIF – http://www.w3.org/Graphics/GIF/spec-gif89a.txt
    BMP – http://www.faqs.org/rfcs/rfc797.html

    HTH

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For learning purposes i would like to convert a cell-based NSOutlineView to a view-based
For learning purposes, I would like to code a simple 2D game inspired by
I am learning Objective-C and I would like to know what the meaning and
I'm developing a game for windows for learning purposes (I'm learning DirectX). I would
I know C and Python, and I'm moving toward another language for learning purposes.
I would like to have a go at making some simple games for personal/learning
I am having trouble learning the purpose of XSD documents, and would like either
I like reinventing the wheel for learning purposes, so I'm working on a container
I would like to know which is in your opinion the best way to
I would like to create my own accordion component without using any AJAX toolkits,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.