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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:14:44+00:00 2026-06-09T18:14:44+00:00

Now I’m trying to get a frame picture from video file and I know

  • 0

Now I’m trying to get a frame picture from video file
and I know how to do it(with ffmpeg or getFrameAtTime function)

so I can get a frame as bmp structure in my program
but when I save this as png or jpeg,

these quality are not good although video’s quality is fine

so I wanna save this bmp without any compress

from what I hear copyPixelsToBuffer function works for this
but I couldn’t do it… T_T…

please anyone can explain to me how to use this??
//my recording size is (1280, 720)

should I record a video in more bigger size?
or should I save frame as bitmap in sd card???

without compress???

//my guess is it’s for compression. compress is a kind of trade off with quality

now I used this function to make a png or jpeg
Bitmap.compress(CompressFormat.PNG, 100, fos)

  • 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-06-09T18:14:46+00:00Added an answer on June 9, 2026 at 6:14 pm

    From Wikipedia: http://en.wikipedia.org/wiki/Portable_Network_Graphics

    Portable Network Graphics (PNG /ˈpɪŋ/[2] ping) is a bitmapped image
    format that employs lossless data compression.

    The PNG compression you’re doing with the code you show is not losing any quality. PNGs are lossless.

    What is most likely happening is that the implementation to get the bitmap object into your memory is losing some pixels somewhere.

    I suggest you (for comparison and testing purposes) to show the bitmap object in an ImageView full screen on your application and compare it with the saved PNG. Just to check which conversion is really losing quality.

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

Sidebar

Related Questions

Now I'm trying to display the result of consuming a webservice from one page
Now that I know C++ I want to get into desktop application that have
now i need to insert some data from the sqlserver into a word,i know
I have a jquery bug and I've been looking for hours now, I can't
Now this might sound simple, but I'm a bit mixed up. I am trying
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
Now my app targets >iOS4 I am trying to remove dependencies on non Apple
Now I find ploblem again. I want get data in db to listview. but
I am trying to render a haml file in a javascript response like so:
Now that FDT no longer supports fdt.launch.Application from AIR projects, how do you go

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.