Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
>>>I have been told that my passport photo is too small. How do I increase it to 20 kb plus?
You can't just create photo data that isn't there. You will need to take a new larger photo.
You didn't specify where you are from but I assume American. The State dept has a minimum size of 600X600 pixels for a cropped photo of the face. I don't know why you are talking about file size.
If you are trying to take your own passport photo you may need a better camera.
You'll have to play around with the -quality option; the values are from 0 to 100, with 100 being LESS compression (bigger file size) and 0 being MORE compression (smaller file size).
All in all though, taking a new picture is probably the "right" answer.
Last edited by notKlaatu; 01-18-2017 at 11:59 AM.
Reason: explained -quality setting
Thank you notKlaatu. I shall have a look at Magicked - I presume I can download it - I am new to this! I will use my camera in the meantime for a new photo. I had forgotten that I still have one!
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585
Rep:
Quote:
Originally Posted by rtmistler
Hi 273, perhaps a little less sarcasm and more help.jaydeesank, the report button is the better choice here versus escalation within the thread.
I missed the apostrophe because I was typing on my phone. I meant it completely, I am not being sarcastic here.
The standards are there so that a government agency can use the photograph for the purposes of border control and law enforcement. To deliberately produce an image with lower resolution is not a good idea.
To attempt to mislead a government agency is not something to be flippant about. Have a government-approved photograph taken in a government-approved place in a government-approved manner. Otherwise it's illegal.
I'm not fan of government but, please, this is serious.
I am not sure I wish to continue as a member of this forum. I ask for honest help and then have to face this completely unfounded accusation of trying to mislead a government agency. In fact, I followed the instructions to apply on line and when I tried to upload the photo I was asked to increase it's size. I know that it is technically possible to do this but as an inexperienced computer person using a new OS I turned to the forum for help. I am amazed that people not known to me should jump to conclusions like this and then decide they have the right to lecture me. With members like this I don't think I want to have anything more to do with it. I reported the earlier uncalled for rant. I shall now report the complete exchange.
>>>I will but I have been told that it is possible to increase the size
>>>You can increase file size of a JPEG by doing some conversion with Image Magick.
You can increase the file size but you aren't adding any detail that was lost in the original compression. You can't replace what is already gone. Converting from jpeg to uncompressed tiff doesn't add back any image detail that was already lost.
>>>Now re-compress, with less jpeg compression:
This is pointless.
If you had an uncompressed RAW or TIFF original from a DSLR you could choose an initial compression to get the right file size.
It is best to take a new uncompressed original picture and start from there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.