HELP - CONVERTING A JPEG IMAGE INTO A LINE DRAWING
PLEEEASE HELP ME!!!
sorry to be thick - im only a beginner --- is there any way to covert a jpeg image into like a line drawing where there is a block colour background and solid lines that make up the picture like you sometimes get in brochures - somthing different to just the effects that are availible in the filter gallery...
thanks
LUK
As far as I recall there's no magic/easy "convert to vector drawing" functionality in Photoshop, though there are some things you can do to help smooth rough edges (e.g., Filter - Noise - Median). There are also some things you can do, if you want to get fancy, based on converting selections to paths, but that can get kind of involved and likely requires manual path editing afterward.
I have heard there are some pretty decent vector conversion functions in other Adobe apps... Adobe Illustrator, perhaps? Someone who uses Illustrator may want to chime in here; I don't have that package.
-Noel
Similar Messages
-
I am hoping for a quick way of converting images (jpeg etc) into a vector.
Is this possible?
Thanks
EddieTry this:
http://vectormagic.com/home
It won't work with really complex images or photos, but if you have something like a logo, it can work well. You'll need to edit the vectors it generates to smooth out some bumps and incorrect nodes, but editing a vector is much easier than drawing the whole thing from scratch.
Hope this helps! -
How can i convert a jpeg into a line drawing/sketch?
Hey just wondering what is the best tool and is Illustrator the best program - to convert a standard JPEG image into a line drawing?
Someone please help! Thank youTry VectorMagic (Google will find it for you). You can use it for free a few times on the web, or you can buy a license. You can control the level of detail and the number of colours to use, and it will write an AI file.
(I have no affiliation, I just think it works well). -
How to convert jpeg image into vector
I have jpeg image which contains line and circle. i want to convert this image as a vector and i need to export into DXF file format.
In my illustrator i am not able to find live Trace option. how to enable live trace option.
can anyone help me to convert this,because i am new to Adobe Illustrator.
Thanks in Advance.If you do want to use the image trace option here is how you do it:
If you have nothing selected your contextual menu should look something like this:
If you have your image selected your contextual menu will look like this.
You can use the image trace from that button. to find it through the menu go here: -
How to convert a jpeg file into a 1-bit bmp file (2 colors image)
Hi. I�m having serious problems to convert a jpeg file into a 1-bit bmp file (2 colors image).
I�m using FileSaver.saveAsBmp(String t) but what i get is a bmp image, but with 16M colors, but what i want is a 2 colors bmp file. A black and white image.
Does anybody know how to do this? I�m really getting crazy with ths problem.
Thanks in advanceHi opalo,
this code may help you...
import java.awt.*;
import java.io.*;
import java.awt.image.*;
import javax.imageio.ImageIO;
class Write1 extends Component {
//--- Private constants
private final static int BITMAPFILEHEADER_SIZE = 14;
private final static int BITMAPINFOHEADER_SIZE = 40;
//--- Private variable declaration
//--- Bitmap file header
private byte bitmapFileHeader [] = new byte [14];
private byte bfType [] = {'B', 'M'};
private int bfSize = 0;
private int bfReserved1 = 0;
private int bfReserved2 = 0;
private int bfOffBits = BITMAPFILEHEADER_SIZE + BITMAPINFOHEADER_SIZE;
//--- Bitmap info header
private byte bitmapInfoHeader [] = new byte [40];
private int biSize = BITMAPINFOHEADER_SIZE;
private int biWidth = 50;
private int biHeight = 70;
private int biPlanes = 1;
//private int biBitCount = 24;
private int biBitCount = 1;
private int biCompression = 0;
private int biSizeImage = 0x030000;
private int biXPelsPerMeter = 0x0;
private int biYPelsPerMeter = 0x0;
private int biClrUsed = 0;
private int biClrImportant = 0;
//--- Bitmap raw data
private int bitmap [];
//--- File section
private FileOutputStream fo;
//--- Default constructor
public Write1() {
public void saveBitmap (String parFilename, Image parImage, int
parWidth, int parHeight) {
try {
fo = new FileOutputStream (parFilename);
save (parImage, parWidth, parHeight);
fo.close ();
catch (Exception saveEx) {
saveEx.printStackTrace ();
* The saveMethod is the main method of the process. This method
* will call the convertImage method to convert the memory image to
* a byte array; method writeBitmapFileHeader creates and writes
* the bitmap file header; writeBitmapInfoHeader creates the
* information header; and writeBitmap writes the image.
private void save (Image parImage, int parWidth, int parHeight) {
try {
convertImage (parImage, parWidth, parHeight);
writeBitmapFileHeader ();
writeBitmapInfoHeader ();
writeBitmap ();
catch (Exception saveEx) {
saveEx.printStackTrace ();
* convertImage converts the memory image to the bitmap format (BRG).
* It also computes some information for the bitmap info header.
private boolean convertImage (Image parImage, int parWidth, int parHeight) {
int pad;
bitmap = new int [parWidth * parHeight];
PixelGrabber pg = new PixelGrabber (parImage, 0, 0, parWidth, parHeight,
bitmap, 0, parWidth);
try {
pg.grabPixels ();
catch (InterruptedException e) {
e.printStackTrace ();
return (false);
pad = (4 - ((parWidth * 3) % 4)) * parHeight;
biSizeImage = ((parWidth * parHeight) * 3) + pad;
bfSize = biSizeImage + BITMAPFILEHEADER_SIZE +
BITMAPINFOHEADER_SIZE;
biWidth = parWidth;
biHeight = parHeight;
return (true);
* writeBitmap converts the image returned from the pixel grabber to
* the format required. Remember: scan lines are inverted in
* a bitmap file!
* Each scan line must be padded to an even 4-byte boundary.
private void writeBitmap () {
int size;
int value;
int j;
int i;
int rowCount;
int rowIndex;
int lastRowIndex;
int pad;
int padCount;
byte rgb [] = new byte [3];
size = (biWidth * biHeight) - 1;
pad = 4 - ((biWidth * 3) % 4);
if (pad == 4) // <==== Bug correction
pad = 0; // <==== Bug correction
rowCount = 1;
padCount = 0;
rowIndex = size - biWidth;
lastRowIndex = rowIndex;
try {
for (j = 0; j < size; j++) {
value = bitmap [rowIndex];
rgb [0] = (byte) (value & 0xFF);
rgb [1] = (byte) ((value >> 8) & 0xFF);
rgb [2] = (byte) ((value >> 16) & 0xFF);
fo.write (rgb);
if (rowCount == biWidth) {
padCount += pad;
for (i = 1; i <= pad; i++) {
fo.write (0x00);
int b = 1200;
fo.write(b);
rowCount = 1;
rowIndex = lastRowIndex - biWidth;
lastRowIndex = rowIndex;
else
rowCount++;
rowIndex++;
//--- Update the size of the file
bfSize += padCount - pad;
biSizeImage += padCount - pad;
catch (Exception wb) {
wb.printStackTrace ();
* writeBitmapFileHeader writes the bitmap file header to the file.
private void writeBitmapFileHeader () {
try {
fo.write (bfType);
fo.write (intToDWord (bfSize));
fo.write (intToWord (bfReserved1));
fo.write (intToWord (bfReserved2));
fo.write (intToDWord (bfOffBits));
catch (Exception wbfh) {
wbfh.printStackTrace ();
* writeBitmapInfoHeader writes the bitmap information header
* to the file.
private void writeBitmapInfoHeader () {
try {
fo.write (intToDWord (biSize));
fo.write (intToDWord (biWidth));
fo.write (intToDWord (biHeight));
fo.write (intToWord (biPlanes));
fo.write (intToWord (biBitCount));
fo.write (intToDWord (biCompression));
fo.write (intToDWord (biSizeImage));
fo.write (intToDWord (biXPelsPerMeter));
fo.write (intToDWord (biYPelsPerMeter));
fo.write (intToDWord (biClrUsed));
fo.write (intToDWord (biClrImportant));
// DataOutputStream temp = new DataOutputStream(fo);
// int m = 32;
// temp.writeInt(m);
catch (Exception wbih) {
wbih.printStackTrace ();
* intToWord converts an int to a word, where the return
* value is stored in a 2-byte array.
private byte [] intToWord (int parValue) {
byte retValue [] = new byte [2];
retValue [0] = (byte) (parValue & 0x00FF);
retValue [1] = (byte) ((parValue >> 8) & 0x00FF);
return (retValue);
* intToDWord converts an int to a double word, where the return
* value is stored in a 4-byte array.
private byte [] intToDWord (int parValue) {
byte retValue [] = new byte [4];
retValue [0] = (byte) (parValue & 0x00FF);
retValue [1] = (byte) ((parValue >> 8) & 0x000000FF);
retValue [2] = (byte) ((parValue >> 16) & 0x000000FF);
retValue [3] = (byte) ((parValue >> 24) & 0x000000FF);
return (retValue);
class Writebmp
public static void main(String args[])
//Image img = Toolkit.getDefaultToolkit().getImage("jatin.bmp");
try
File filename = new File("jatin_test.bmp");
BufferedImage image = ImageIO.read(filename);
Graphics graphics = image.getGraphics();
graphics.drawString("उजगर",10,30);
Write1 w = new Write1();
Image img = Toolkit.getDefaultToolkit().getImage("jatin_test.bmp");
w.saveBitmap("jatin_test.bmp",img,200,200);
catch (IOException e)
System.err.println ("Unable to write to file");
System.exit(-1);
} -
How to convert jpeg images into video file of any ext using JMF
I want to convert the Jpeg files into video clip with the help of JMF
any one can help me?
Plz reply me at [email protected]
or [email protected]I'm not sure of his/her reasoning behind this, but I have yet to find a way to record video with mmapi on j2me. So with that restriction, I can see how one could make it so that it just records a lot of jpegs, and then makes it a movie.
I would be interested finding a workaround for this too. Either if someone would explain how to record video with mmapi or how to make recorded images into a video. Thanks! -
Using QuickTime Pro to convert a series of JPEG images into a QT movie?
Can I use QuickTime Pro to convert a series of JPEG images into a QT (uncompressed) movie? Thanks...
Windows XPYes.
One of the features of the QuickTime Pro upgrade is "Open Image Sequence". It imports your sequencially named (1.jpg, 2.jpg) liked sized images (any format that QT understands) and allows you to set a frame rate.
http://www.apple.com/quicktime/tutorials/slideshow.html
You can also adjust the frame rate by adding your image .mov file to any audio clip. Simply "copy" (Command-A to select all and then Command-C to copy) and switch to your audio track.
Select all and "Add to Selection & Scale". Open the Movie Properties window and "Extract" your new (longer or shorter) file and Save As.
As you've posted in the Mac Discussion pages but your profile says XP you'll need to subsitute Control key where I reference Command key. -
Convert a jpeg file into a 1-bit bmp file (2 colors image).
Hi. I�m having serious problems to convert a jpeg file into a 1-bit bmp file (2 colors image).
First, i,ve tried to get a 1-bit jpeg. But i think this is not possible, so what i have to do is to get a 1-bit bpm file.
I�m using FileSaver.saveAsBmp(String destination) and what i get is a bmp image, but with 16M colors, but what i want is a 2 colors bmp file. A black and white image.
Does anybody know how to do this? I�m really getting crazy with ths problem.
Thanks in advanceYou better read this at
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=733738 -
How do you convert a jpeg file into word document so i can edit it?
How do you convert a jpeg file into word document so i can edit it?
http://office.microsoft.com/en-us/mac-word-help/training-edit-pictures-in-office -for-mac-2011-RZ103709558.aspx
-
How to import a jpeg image into premier elements 12?
how do i import a jpeg image into premier elements 12?
chuckx
Just for background information, what computer operating system is your Premiere Elements 12 running on?
The generalized answer is Add Media/Files and Folders/Projects Assets from where you drag the photo to the Expert view Timeline.
But all that can generate a mountain of questions about the photo and the project into which it will be going
a. what are the pixel dimensions of the photo - will or will I not have to resize or crop/resize the photo for the project
b. is the photo going into a project that will consist of photos and videos
c. if video inclusion, that leads to questions about the properties of the video so that you can set the project preset to match those
d. that leads to questions on the best size to have your photo before you import them into this project.
So, one simple question generates a lot of side questions.
Please let us know how we might help to sort out the details for your Premiere Elements workflow and its source media.
Thank you.
ATr -
Can aperture 3 convert a gray scale photo into a line drawing?
can aperture 3 convert a gray scale photo into a line drawing?
I have a B.F.A. degree in painting which educated me in the "history of art" with appreciation of the old masters. I agree with your statement that, "anyone mistaking photos converted to "line drawings, watercolors,or paintings" is simply ignorant" and that, "line art is to drawing what clip art is to painting."
I appreciate your passion and love for keeping "visual creativity" true to its inherant nature. Expressing your views however, in regard to my question in this thread, is irrelevant to the question asked. I am not ignorant. My question has nothing to do with the philosophy of art. You have no idea what project I have in mind for asking my original question. I suggest that perhaps you have chosen the wrong forum to express your views. Sticking to the question asked, as the other participants have, has been most helpful to me and I appreciate their response.
Thanks for your attention. -
How to insert a pdf or jpeg image into a blob column of a table
How to insert a pdf or jpeg image into a blob column of a table
Hi,
Try This
Loading an image into a BLOB column and displaying it via OAS
The steps are as follows:
Step 1.
Create a table to store the blobs:
create table blobs
( id varchar2(255),
blob_col blob
Step 2.
Create a logical directory in the database to the physical file system:
create or replace directory MY_FILES as 'c:\images';
Step 3.
Create a procedure to load the blobs from the file system using the logical
directory. The gif "aria.gif" must exist in c:\images.
create or replace procedure insert_img as
f_lob bfile;
b_lob blob;
begin
insert into blobs values ( 'MyGif', empty_blob() )
return blob_col into b_lob;
f_lob := bfilename( 'MY_FILES', 'aria.gif' );
dbms_lob.fileopen(f_lob, dbms_lob.file_readonly);
dbms_lob.loadfromfile( b_lob, f_lob, dbms_lob.getlength(f_lob) );
dbms_lob.fileclose(f_lob);
commit;
end;
Step 4.
Create a procedure that is called via Oracle Application Server to display the
image.
create or replace procedure get_img as
vblob blob;
buffer raw(32000);
buffer_size integer := 32000;
offset integer := 1;
length number;
begin
owa_util.mime_header('image/gif');
select blob_col into vblob from blobs where id = 'MyGif';
length := dbms_lob.getlength(vblob);
while offset < length loop
dbms_lob.read(vblob, buffer_size, offset, buffer);
htp.prn(utl_raw.cast_to_varchar2(buffer));
offset := offset + buffer_size;
end loop;
exception
when others then
htp.p(sqlerrm);
end;
Step 5.
Use the PL/SQL cartridge to call the get_img procedure
OR
Create that procedure as a function and invoke it within your PL/SQL code to
place the images appropriately on your HTML page via the PL/SQL toolkit.
from a html form
1. Create an HTML form where the image field will be <input type="file">. You also
need the file MIME type .
2. Create a procedure receiving the form parameters. The file field will be a Varchar2
parameter, because you receive the image path not the image itself.
3. Insert the image file into table using "Create directory NAME as IMAGE_PATH" and
then use "Insert into TABLE (consecutive, BLOB_OBJECT, MIME_OBJECT) values (sequence.nextval,
EMPTY_BLOB(), 'GIF' or 'JPEG') returning BLOB_OBJECT, consecutive into variable_blob,
variable_consecutive.
4. Load the file into table using:
dbms_lob.loadfromfile(variable_blob, variable_file_name, dbms_lob.getlength(variable_file_name));
dbms_lob.fileclose(variable_file_name);
commit.
Regards,
Simma........ -
Photoshop CC Can't convert to jpegs; image processor not opening
I'm on Windows 7. When I open a psd document in PS CC, I don't have the option to convert to jpeg, and a lot of other types, for that matter. Also, when I click on Tools/Photoshop/Image processor it will not open up. Any suggestions? Thank you.
It was already disabled when I checked. I enabled it and tried again, still didn't work. Anything else that might be wrong? i'm getting desperate lol
-
How do I convert a jpeg file into a pdf file?
I would like to be able to convert a jpeg file, both in Photoshop and outside of Photoshop, into a pdf file. How do I go about doing that?
If you don't have Acrobat, you'll need to do it in Photoshop. File>Save as>Photoshop PDF. If it is a cmyk file, you'll need to convert it to rgb first.
-
Conversion jpeg image into bmp
Hi experts,
I am trying to convert my jpg picture into bmp. for this i write one report but it showing some transferring error to binary mode
here is my code
*& Report ZSE78_8
REPORT ZSE78_8.
DATA: blob TYPE w3mimetabtype,
blob_size TYPE w3param-cont_len,
blob_type TYPE w3param-cont_type .
DATA:
p_color_scheme TYPE char20 ,
p_labels_groupid TYPE igs_label_tab,
p_labels_category TYPE igs_label_tab ,
p_data TYPE igs_data_tab,
p_charttype TYPE char20,
p_legend TYPE char20,
l_igs_chart TYPE REF TO cl_igs_chart ,
l_igs_chart_engine TYPE REF TO cl_igs_chart_engine,
i_igs_image_converter TYPE REF TO CL_IGS_IMAGE_CONVERTER,
mime TYPE w3mimetabtype,
html TYPE w3htmltabtype,
html_line TYPE w3html,
l_msg_text(72) TYPE c,
l_url TYPE w3url,
l_content_length TYPE i,
l_content_type TYPE w3param-cont_type,
l_content_subtype TYPE w3param-cont_type.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'E:\KATOCH.gif'
filetype = 'BIN'
HAS_FIELD_SEPARATOR = ' '
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
* IGNORE_CERR = 'ABAP_TRUE'
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
filelength = l_content_length
* HEADER =
TABLES
data_tab = mime
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT i_igs_image_converter .
i_igs_image_converter->input = 'image/gif'.
*i_igs_image_converter->output = 'image/x-ms-bmp'.
i_igs_image_converter->output = 'image/gif'.
i_igs_image_converter->width = '100'.
i_igs_image_converter->height = '100'.
CALL METHOD i_igs_image_converter->set_image
EXPORTING
blob = mime
blob_size = l_content_length.
CALL METHOD i_igs_image_converter->execute
EXCEPTIONS
communication_error = 1
internal_error = 2
external_error = 3
OTHERS = 4.
IF sy-subrc = 0.
CALL METHOD i_igs_image_converter->get_image
IMPORTING
blob = blob
blob_size = blob_size
blob_type = blob_type.
DATA dsn1(20) TYPE c VALUE 'E:\katoch1.bmp'.
DATA wa_mime1 TYPE w3mime.
*DATA wa_mime1 TYPE w3mimetabtype.
OPEN DATASET dsn1 FOR OUTPUT IN BINARY MODE .
LOOP AT blob INTO wa_mime1.
TRANSFER wa_mime1 TO dsn1.
CLEAR wa_mime1.
ENDLOOP.
CLOSE DATASET dsn1.
ELSE.
DATA: num TYPE i, message TYPE string.
CALL METHOD i_igs_image_converter->get_error
IMPORTING
number = num
MESSAGE = message.
ENDIF.Hi,
To convert an Image to bytes you can use the Image.getRGB() method.
http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/Image.html#getRGB(int[], int, int, int, int, int, int)
-Henrik
Maybe you are looking for
-
Has this happened to anyone?????
Has anyone downloaded a song or album by mistake? And did Apple ever reimburse you for that mistake? Were they prompt? I, by mistake, downloaded an entire album I did not intend to download...... I had $10.00 remaining on my gift card and my account
-
GR without GI/ Confirmation
Hi, Is it possible to do GR without GI or Confirmations in production orders of standard SAP. If so advise the settings required?
-
After installing OS X 10.9.1 maverick, my email program, microsoft entourage, fails to load because "PowerPC" no longer supported. What do I do now ?
-
IPhone thinks thought headphones were connected - now dead!
Two days ago my iPhone 4S would not work without headphones - when the headphones weren't plugged in it was like it thought they were (when I adjusted the volume it said "headphones") - I plugged the headphones in & out several times & it seemed to r
-
Hello. Assuming that I send data into PayPal (with the use of "HTML Variables for PayPal Payments Standard"): var variables:URLVariables = new URLVariables(); variables.cmd = "_xclick"; variables.business = "A8AJGG5PS2GKE"; variables.upload = "1"; v