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 1096471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:17:21+00:00 2026-05-17T00:17:21+00:00

What kind of variable should I initialize and how do I do it? For

  • 0

What kind of variable should I initialize and how do I do it?

For example

byte[][][] data = ?????;

The function is from LibJpeg.NET library. The function definition is

Int32 jpeg_read_raw_data (
    Byte[][][] data,
    Int32 max_lines
)

There is no good documentation for this function, so I don’t know what to send it, but I want to try to send something and see what the function will return.

The problem is that I don’t know how to call it.

  • 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-17T00:17:22+00:00Added an answer on May 17, 2026 at 12:17 am

    After a short look into the sources of LibJpeg.NET it looks like you should initialize the first dimension of the data array with the number of scan lines:

    byte[][][] data = new byte[max_lines][][];
    

    The rest of the array is filled when reading the raw data.

    I’m not too familiar with that API so I don’t know how you would get the number of scan lines though.

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

Sidebar

Related Questions

Three questions: What kind of variables should be disposed manually in .NET/Java? I know
In shell script how can i compare these kind of variable echo $du //170G
Is there any way to do some kind of while() for each post variable
Kind of a follow up to a question from yesterday. I have a hash
Which kind of Azure diagnositcs log stores the data for webrole instance count change,
i have implement this code from programming pearls and i think it should be
var doCheck = function() { var data; $.ajax({ url: 'check.php', data: 'ch=check', success: function(resp)
Firstly, the Google Chart API example from Google (it is javascript) actually <script type=text/javascript>
well basically it should list all the vector coords in this kind of format
I have some csv record which are variable in length , for example: 0005464560,45667759,ZAMTR,!To

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.