LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-25-2011, 11:40 AM   #1
konsolelover
Member
 
Registered: Jul 2011
Location: 127.0.0.1
Distribution: Arch, Ubuntu 11.04
Posts: 78

Rep: Reputation: 3
Angry Urgent help : image editing(have to increase a file size to just 1 kb) Ubuntu


hello everyone, i have to upload a signature image(in jpeg format) to fill a recruitment form which says file-size must be of between 10-20 kb......i have scanned image which is of 9.5 kb.....tried to edit in shotwell photo manager....tried some random things in Adjust and crop menu but my little changes didn't work, it always shortened the file size......as i don't know anything about Image editing can someone tell me how can i increase the file size (>=10kb)
i also tried gnome-screenshot to take the screenshot of the image, but it also saved the new image smaller than 10kb....
can any other image editor can help....
Please help TIA
 
Old 07-25-2011, 12:01 PM   #2
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 13.2, 42.1, and 42.2, OS X 10.10, Ubuntu 16.04, and Linux Mint 17.3
Posts: 545
Blog Entries: 9

Rep: Reputation: 58
Convert the Screenshit to JPEG

GNOME Screenshot by default saves in the PNG format. You would likely expand that by resaving the PNG as a JPEG. Another idea is to see what happens if you resave the image as a BMP then resave it as a JPEG as BMP's hold more detail and that detail may be added to the resaved JPEG.
 
Old 07-25-2011, 12:31 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
man convert http://amath.colorado.edu/computing/...n/convert.html


convert -geometry 133% your.jpg new-133.jpg

( /usr/bin/convert is provided by package 'imagemagick'.)
 
1 members found this post helpful.
Old 07-25-2011, 12:38 PM   #4
konsolelover
Member
 
Registered: Jul 2011
Location: 127.0.0.1
Distribution: Arch, Ubuntu 11.04
Posts: 78

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by wagscat123 View Post
GNOME Screenshot by default saves in the PNG format. You would likely expand that by resaving the PNG as a JPEG. Another idea is to see what happens if you resave the image as a BMP then resave it as a JPEG as BMP's hold more detail and that detail may be added to the resaved JPEG.
screenshots r much smaller than i expected in any format and resaved jpg to bmp...now it is of 14 kb ..again resaved to jpg n it is 1.1 kb
 
Old 07-25-2011, 12:47 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Each time you save a jpeg file the bitmap that you have in memory is re-encoded, losing a bit of quality, and fitting into a smaller space. A workaround would be to save to a lossless format like png (if the web site you are uploading the image to admits that). If not, you can always load the jpeg file, then resize it to enlarge it a bit and save it with 100% quality. The gimp should be able to do that, as should imagemagick's convert tool.
 
2 members found this post helpful.
Old 07-25-2011, 12:57 PM   #6
konsolelover
Member
 
Registered: Jul 2011
Location: 127.0.0.1
Distribution: Arch, Ubuntu 11.04
Posts: 78

Original Poster
Rep: Reputation: 3
thanks dude , imagemagick is really a magic
 
Old 07-25-2011, 01:09 PM   #7
rahulkya
Member
 
Registered: Feb 2009
Location: New Delhi
Distribution: Linux mint,Ubuntu,Debian,RHEL 5,slackware 13.1, free BSD,solaris.
Posts: 186
Blog Entries: 3

Rep: Reputation: 33
May be this can help u::-
open GIMP then create a new background with a white background with size (resolution) just 10 greater than yours pic . If your pics resolution is 300*300 then it should be 310*310. put your image in the middle of this background then save image as jpeg . Make sure you
increase the quality while saving ...adjust quality to your need..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Increase size of '/' in ubuntu noony123 Linux - Newbie 2 02-12-2011 01:19 PM
[SOLVED] increase a file size? Gibzon Linux - Newbie 10 12-02-2010 07:20 AM
increase the size of a file? Gibzon Linux - General 2 12-01-2010 05:25 AM
What is the easiest way to increase the size of a Xen Image made from an image? abefroman Linux - Software 4 12-14-2009 11:11 PM
file size increase schamana AIX 5 09-18-2007 03:44 PM


All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration